[Buildroot] [PATCH] package/libgeos: improve Config.in comments with binutils bugs

Giulio Benetti giulio.benetti at benettiengineering.com
Sat Jul 24 20:55:37 UTC 2021


At the moment if package is not available due to binutils bugs comment
only states that it's not available because toolchain is missing C++,
wchar. But this is not correct, so let's add other 2 comments for the 2
binutils bugs and move dependencies to them.

Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
---
 package/libgeos/Config.in | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/package/libgeos/Config.in b/package/libgeos/Config.in
index 86a1cddcf3..949a5ff94a 100644
--- a/package/libgeos/Config.in
+++ b/package/libgeos/Config.in
@@ -13,7 +13,11 @@ config BR2_PACKAGE_LIBGEOS
 
 	  https://trac.osgeo.org/geos
 
-comment "libgeos needs a toolchain w/ C++, wchar, not binutils bug 21464, 27597"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-		   BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 || \
-		   BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
+comment "libgeos needs a toolchain w/ C++, wchar"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+
+comment "libgeos needs a toolchain not affected by BINUTILS bug 21464"
+	depends on BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
+
+comment "libgeos needs a toolchain not affected by BINUTILS bug 27597"
+	depends on BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
-- 
2.25.1



More information about the buildroot mailing list