aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Authen-Libwrap
diff options
context:
space:
mode:
authorDavid Thiel <lx@FreeBSD.org>2007-03-01 19:19:34 +0000
committerDavid Thiel <lx@FreeBSD.org>2007-03-01 19:19:34 +0000
commitd8737589d750594507020678495ee4c6bde98399 (patch)
tree56d489155f10912a9c98c25b4fd6edcf349c268c /security/p5-Authen-Libwrap
parent9995667e855609547c95c30aa1bbe3c870db9022 (diff)
downloadports-d8737589d750594507020678495ee4c6bde98399.tar.gz
ports-d8737589d750594507020678495ee4c6bde98399.zip
Notes
Diffstat (limited to 'security/p5-Authen-Libwrap')
-rw-r--r--security/p5-Authen-Libwrap/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/p5-Authen-Libwrap/Makefile b/security/p5-Authen-Libwrap/Makefile
index a7f99918540b..f7f742a5917f 100644
--- a/security/p5-Authen-Libwrap/Makefile
+++ b/security/p5-Authen-Libwrap/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Authen-Libwrap
PORTVERSION= 0.20
+PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Authen
@@ -21,8 +22,9 @@ MAN3= Authen::Libwrap.3
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} < 500600
post-patch:
+ @${PERL} -pi -e 's/\s(0\.20);/ q($$1);/' ${WRKSRC}/lib/Authen/Libwrap.pm
+.if ${PERL_LEVEL} < 500600
@${PERL} -pi -e 'undef $$_ if /^\s*(?:no|use) warnings/o' ${WRKSRC}/Build.PL ${WRKSRC}/lib/Authen/Libwrap.pm
.endif