diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-11-22 08:58:55 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-11-22 08:58:55 +0000 |
commit | 718f518715a36403418ec396e111864843e4584d (patch) | |
tree | f596e686c2ed707a2fdd8b83f63aeacdbd9d2370 /net/p5-Net-Packet-Target/Makefile | |
parent | c1ceeab3d5c0f7d795660c73ecde62eb582be535 (diff) |
Notes
Diffstat (limited to 'net/p5-Net-Packet-Target/Makefile')
-rw-r--r-- | net/p5-Net-Packet-Target/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/net/p5-Net-Packet-Target/Makefile b/net/p5-Net-Packet-Target/Makefile index 228d6f6c6692..801a41299ba4 100644 --- a/net/p5-Net-Packet-Target/Makefile +++ b/net/p5-Net-Packet-Target/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Net-Packet-Target -PORTVERSION= 1.00 +PORTVERSION= 1.01 CATEGORIES= net perl5 devel MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -21,4 +21,11 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} PERL_CONFIGURE= yes MAN3= ${PORTNAME:S/-/::/g}.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +post-patch: + @${REINPLACE_CMD} -e '/^use warnings;/s|||' ${WRKSRC}/lib/Net/Packet/Target.pm +.endif + +.include <bsd.port.post.mk> |