Ver Fonte

perl-netaddr-ip: remove !BR2_STATIC_LIBS constraint

with the option -noxs, the Pure Perl version is always built.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Francois Perrad há 9 anos atrás
pai
commit
0a2d217826

+ 0 - 3
package/perl-netaddr-ip/Config.in

@@ -1,10 +1,7 @@
 config BR2_PACKAGE_PERL_NETADDR_IP
 	bool "perl-netaddr-ip"
-	depends on !BR2_STATIC_LIBS
 	help
 	  Manages IPv4 and IPv6 addresses and subnets
 
 	  https://metacpan.org/release/NetAddr-IP
 
-comment "perl-netaddr-ip needs a toolchain w/ dynamic library"
-	depends on BR2_STATIC_LIBS

+ 2 - 0
package/perl-netaddr-ip/perl-netaddr-ip.mk

@@ -10,6 +10,8 @@ PERL_NETADDR_IP_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MI/MIKER
 PERL_NETADDR_IP_LICENSE = Artistic or GPLv1+
 PERL_NETADDR_IP_LICENSE_FILES = Artistic Copying
 
+# we always build the Pure Perl version.
+# the build of the native part of NetAddr::IP::Util is buggy.
 PERL_NETADDR_IP_CONF_OPTS = -noxs
 
 $(eval $(perl-package))