Bug 98969 - [MAINTAINER] Update net-mgmt/p5-NetAddr-IP-Lite for patch compile fail
Summary: [MAINTAINER] Update net-mgmt/p5-NetAddr-IP-Lite for patch compile fail
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-15 04:00 UTC by ychsiao
Modified: 2006-06-15 04:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ychsiao 2006-06-15 04:00:35 UTC
* Becase NetAddr::IP::Lite depends on NetAddr::IP::Util which installs by default with its primary functions compiled using Perl's XS extensions to build a 'C' library.
* Add configure args -noxs to solve this problem

How-To-Repeat: 
===> Generating patch
===> Viewing diff with more
diff -ruN --exclude=CVS /usr/ports/net-mgmt/p5-NetAddr-IP-Lite/Makefile /home/ychsiao/project/bsd/p5-NetAddr-IP-Lite/Makefile
--- /usr/ports/net-mgmt/p5-NetAddr-IP-Lite/Makefile	Sat Jun 10 10:09:17 2006
+++ /home/ychsiao/project/bsd/p5-NetAddr-IP-Lite/Makefile	Wed Jun 14 23:01:07 2006
@@ -17,6 +17,14 @@
 
 PERL_CONFIGURE=	yes
 
+CONFIGURE_ARGS=	-noxs
+
 MAN3=		NetAddr::IP::UtilPP.3 NetAddr::IP::Util.3 NetAddr::IP::Lite.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE=         requires perl 5.6.1 or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/net-mgmt/p5-NetAddr-IP-Lite/pkg-plist /home/ychsiao/project/bsd/p5-NetAddr-IP-Lite/pkg-plist
--- /usr/ports/net-mgmt/p5-NetAddr-IP-Lite/pkg-plist	Sat Jun 10 10:09:17 2006
+++ /home/ychsiao/project/bsd/p5-NetAddr-IP-Lite/pkg-plist	Wed Jun 14 22:54:32 2006
@@ -1,49 +1,49 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/NetAddr/IP/Lite.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/NetAddr/IP/UtilPP.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/NetAddr/IP/Util.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/NetAddr/IP/Util_IS.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/Util/Util.so
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/Util/Util.bs
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/Util/ipv6_aton.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/Util/ipv6_n2x.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/Util/ipv6_n2d.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/Util/inet_any2n.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/Util/inet_n2dx.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/Util/inet_n2ad.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/Util/autosplit.ix
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/_deadlen.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/hasbits.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/isIPv4.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/_128x2.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/_128x10.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/shiftleft.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/slowadd128.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/_sa128.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/addconst.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/add128.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/sub128.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/notcontiguous.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/ipv4to6.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/mask4to6.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/ipanyto6.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/maskanyto6.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/ipv6to4.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/bin2bcd.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/bcd2bin.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/comp128.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/bin2bcdn.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/_bin2bcdn.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/bcdn2txt.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/bcdn2bin.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/_bcd2bin.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/_bcdcheck.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/simple_pack.al
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP/autosplit.ix
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/Lite/.packlist
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/NetAddr/IP
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/UtilPP
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/Util
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP/Lite
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr/IP
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/NetAddr
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetAddr
+%%SITE_PERL%%/NetAddr/IP/Lite.pm
+%%SITE_PERL%%/NetAddr/IP/UtilPP.pm
+%%SITE_PERL%%/NetAddr/IP/Util.pm
+%%SITE_PERL%%/NetAddr/IP/Util_IS.pm
+%%SITE_PERL%%/auto/NetAddr/IP/Util/ipv6_aton.al
+%%SITE_PERL%%/auto/NetAddr/IP/Util/ipv6_n2x.al
+%%SITE_PERL%%/auto/NetAddr/IP/Util/ipv6_n2d.al
+%%SITE_PERL%%/auto/NetAddr/IP/Util/inet_any2n.al
+%%SITE_PERL%%/auto/NetAddr/IP/Util/inet_n2dx.al
+%%SITE_PERL%%/auto/NetAddr/IP/Util/inet_n2ad.al
+%%SITE_PERL%%/auto/NetAddr/IP/Util/autosplit.ix
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/_deadlen.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/hasbits.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/isIPv4.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/_128x2.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/_128x10.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/shiftleft.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/slowadd128.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/_sa128.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/addconst.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/add128.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/sub128.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/notcontiguous.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/ipv4to6.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/mask4to6.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/ipanyto6.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/maskanyto6.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/ipv6to4.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/bin2bcd.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/bcd2bin.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/comp128.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/bin2bcdn.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/_bin2bcdn.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/bcdn2txt.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/bcdn2bin.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/_bcd2bin.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/_bcdcheck.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/simple_pack.al
+%%SITE_PERL%%/auto/NetAddr/IP/UtilPP/autosplit.ix
+%%SITE_PERL%%/mach/auto/NetAddr/IP/Lite/.packlist
+@dirrm %%SITE_PERL%%/NetAddr/IP
+@dirrm %%SITE_PERL%%/auto/NetAddr/IP/UtilPP
+@dirrm %%SITE_PERL%%/auto/NetAddr/IP/Util
+@dirrm %%SITE_PERL%%/auto/NetAddr/IP
+@dirrm %%SITE_PERL%%/mach/auto/NetAddr/IP/Lite
+@dirrmtry %%SITE_PERL%%/NetAddr
+@dirrmtry %%SITE_PERL%%/mach/auto/NetAddr/IP
+@dirrmtry %%SITE_PERL%%/mach/auto/NetAddr
+@dirrmtry %%SITE_PERL%%/auto/NetAddr/
===> Done
Comment 1 Cheng-Lung Sung freebsd_committer 2006-06-15 04:18:47 UTC
State Changed
From-To: open->closed

Committed. Thank You.