aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2007-01-05 18:22:58 +0800
committerclsung <clsung@FreeBSD.org>2007-01-05 18:22:58 +0800
commit0b3c5baf26ecb4e136969cec4553a9a88b84de2b (patch)
tree758f41ff45fc836445a276fa75224cc0c7592833 /net
parent0faa0e208e96a0389daabe3e9163d6c87abbc67f (diff)
downloadfreebsd-ports-gnome-0b3c5baf26ecb4e136969cec4553a9a88b84de2b.tar.gz
freebsd-ports-gnome-0b3c5baf26ecb4e136969cec4553a9a88b84de2b.tar.zst
freebsd-ports-gnome-0b3c5baf26ecb4e136969cec4553a9a88b84de2b.zip
- Fix dependency under perl < 5.6
PR: ports/104993 Submitted by: Jin-Shan Tseng <tjs_AT_cdpa dot nsysu dot edu dot tw> Approved by: maintainer (timeout)
Diffstat (limited to 'net')
-rw-r--r--net/p5-NetPacket/Makefile8
-rw-r--r--net/p5-NetPacket/pkg-descr2
2 files changed, 9 insertions, 1 deletions
diff --git a/net/p5-NetPacket/Makefile b/net/p5-NetPacket/Makefile
index 5ef3bcad5b57..147612a487a0 100644
--- a/net/p5-NetPacket/Makefile
+++ b/net/p5-NetPacket/Makefile
@@ -22,4 +22,10 @@ MAN3= NetPacket::LACP.3 NetPacket::IGMP.3 NetPacket::IP.3 \
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 --git a/net/p5-NetPacket/pkg-descr b/net/p5-NetPacket/pkg-descr
index 01ea52cdbf70..abc24c2a7440 100644
--- a/net/p5-NetPacket/pkg-descr
+++ b/net/p5-NetPacket/pkg-descr
@@ -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/