diff mbox series

[2/2] package/libgeos: use specific bug instead of BR2_nios2 to disable package

Message ID 20210317163459.1916948-2-giulio.benetti@benettiengineering.com
State Accepted
Headers show
Series [1/2] toolchain: introduce BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 | expand

Commit Message

Giulio Benetti March 17, 2021, 4:34 p.m. UTC
Let's use the _BUG_ form for disabling this package instead of BR2_nios2
architecture as we already use it for other packages.

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

Comments

Arnout Vandecappelle April 26, 2021, 7:51 p.m. UTC | #1
On 17/03/2021 17:34, Giulio Benetti wrote:
> Let's use the _BUG_ form for disabling this package instead of BR2_nios2
> architecture as we already use it for other packages.
> 
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>

 Applied to master, thanks. I made the following changes:

     - put 27597 after 21464 instead of before it;
     - propagate dependency to postgis;
     - mention the bugs in the comments.

postgis didn't exist yet at the time so that's no surpise... The rest is nitpicking.


 Regards,
 Arnout

> ---
>  package/libgeos/Config.in | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/package/libgeos/Config.in b/package/libgeos/Config.in
> index bbcafe7740..8759d2011e 100644
> --- a/package/libgeos/Config.in
> +++ b/package/libgeos/Config.in
> @@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBGEOS
>  	bool "libgeos"
>  	depends on BR2_INSTALL_LIBSTDCPP
>  	depends on BR2_USE_WCHAR
> -	depends on !BR2_nios2
> +	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
>  	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
>  	help
>  	  GEOS (Geometry Engine - Open Source) is a C++ port of the
> @@ -14,5 +14,6 @@ config BR2_PACKAGE_LIBGEOS
>  	  https://trac.osgeo.org/geos
>  
>  comment "libgeos needs a toolchain w/ C++, wchar"
> -	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
> -	depends on !BR2_nios2 || !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
> +	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
> +		   !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 || \
> +		   !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
>
Peter Korsgaard April 26, 2021, 9:14 p.m. UTC | #2
>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:

 > On 17/03/2021 17:34, Giulio Benetti wrote:
 >> Let's use the _BUG_ form for disabling this package instead of BR2_nios2
 >> architecture as we already use it for other packages.
 >> 
 >> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>

 >  Applied to master, thanks. I made the following changes:

 >      - put 27597 after 21464 instead of before it;
 >      - propagate dependency to postgis;
 >      - mention the bugs in the comments.

 > postgis didn't exist yet at the time so that's no surpise... The rest is nitpicking.

Committed to 2021.02.x (without the postgis hunk), thanks.
diff mbox series

Patch

diff --git a/package/libgeos/Config.in b/package/libgeos/Config.in
index bbcafe7740..8759d2011e 100644
--- a/package/libgeos/Config.in
+++ b/package/libgeos/Config.in
@@ -2,7 +2,7 @@  config BR2_PACKAGE_LIBGEOS
 	bool "libgeos"
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR
-	depends on !BR2_nios2
+	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
 	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
 	help
 	  GEOS (Geometry Engine - Open Source) is a C++ port of the
@@ -14,5 +14,6 @@  config BR2_PACKAGE_LIBGEOS
 	  https://trac.osgeo.org/geos
 
 comment "libgeos needs a toolchain w/ C++, wchar"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
-	depends on !BR2_nios2 || !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+		   !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 || \
+		   !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464