From 0a2d217826d64ac0f13dcb26499a077b864ba2f3 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Mon, 26 Oct 2015 18:45:00 +0100 Subject: [PATCH] perl-netaddr-ip: remove !BR2_STATIC_LIBS constraint with the option -noxs, the Pure Perl version is always built. Signed-off-by: Francois Perrad Signed-off-by: Peter Korsgaard --- package/perl-netaddr-ip/Config.in | 3 --- package/perl-netaddr-ip/perl-netaddr-ip.mk | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package/perl-netaddr-ip/Config.in b/package/perl-netaddr-ip/Config.in index 7ccb20aabd..1525830083 100644 --- a/package/perl-netaddr-ip/Config.in +++ b/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 diff --git a/package/perl-netaddr-ip/perl-netaddr-ip.mk b/package/perl-netaddr-ip/perl-netaddr-ip.mk index 2e5a82a7fa..f2eec6c0d5 100644 --- a/package/perl-netaddr-ip/perl-netaddr-ip.mk +++ b/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))