perl-netaddr-ip: remove !BR2_STATIC_LIBS constraint
authorFrancois Perrad <fperrad@gmail.com>
Mon, 26 Oct 2015 17:45:00 +0000 (18:45 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 26 Oct 2015 21:55:54 +0000 (22:55 +0100)
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>
package/perl-netaddr-ip/Config.in
package/perl-netaddr-ip/perl-netaddr-ip.mk

index 7ccb20aabdd4b01bcad76ecb9019077a8d06a838..1525830083d49109f36a22a90730d5bb83f7c94a 100644 (file)
@@ -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
index 2e5a82a7fa33b26178ddbb159654dc73afdc9e19..f2eec6c0d5da09f47053ee2816f301b48e80098f 100644 (file)
@@ -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))