ports/104993: [PATCH] net/p5-NetPacket: fix dependency under perl < 5.6
Jin-Shan Tseng
tjs at cdpa.nsysu.edu.tw
Wed Nov 1 06:00:51 UTC 2006
>Number: 104993
>Category: ports
>Synopsis: [PATCH] net/p5-NetPacket: fix dependency under perl < 5.6
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 01 06:00:37 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Jin-Shan Tseng
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD Pluto.CDPA.nsysu.edu.tw 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sun Oct 29 16:58:52 CST 2006
>Description:
- Fix dependency under perl < 5.6
Port maintainer (tolid at plab.ku.dk) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-NetPacket-0.04_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/p5-NetPacket/Makefile /hd1/p5-NetPacket/Makefile
--- /usr/ports/net/p5-NetPacket/Makefile Fri Oct 24 20:03:11 2003
+++ /hd1/p5-NetPacket/Makefile Wed Nov 1 13:47:53 2006
@@ -7,6 +7,7 @@
PORTNAME= NetPacket
PORTVERSION= 0.04
+PORTREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= NetPacket
@@ -22,4 +23,8 @@
NetPacket.3 NetPacket::UDP.3 NetPacket::Ethernet.3 \
NetPacket::ICMP.3 NetPacket::TCP.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires Perl 5.6 or newer. Install lang/perl5.8 and try again
+.endif
+.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/net/p5-NetPacket/pkg-descr /hd1/p5-NetPacket/pkg-descr
--- /usr/ports/net/p5-NetPacket/pkg-descr Sat May 19 22:02:04 2001
+++ /hd1/p5-NetPacket/pkg-descr Wed Nov 1 13:48:40 2006
@@ -1,3 +1,5 @@
NetPacket provides a base class for a cluster of modules related to decoding
and encoding of network protocols. Each NetPacket descendent module knows how
to encode and decode packets for the network protocol it implements.
+
+WWW: http://search.cpan.org/dist/NetPacket/
--- p5-NetPacket-0.04_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list