diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2006-04-22 11:29:24 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2006-04-22 11:29:24 +0000 |
commit | 4204481c056db1ddf2a80c91c86004acba12d4c0 (patch) | |
tree | 6cc2ef0edca16cad74101c42097b7607260bf895 /security/p5-Authen-Libwrap | |
parent | 482677abb92cea82e488409fa476e5c581d6de7b (diff) | |
download | ports-4204481c056db1ddf2a80c91c86004acba12d4c0.tar.gz ports-4204481c056db1ddf2a80c91c86004acba12d4c0.zip |
Notes
Diffstat (limited to 'security/p5-Authen-Libwrap')
-rw-r--r-- | security/p5-Authen-Libwrap/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/security/p5-Authen-Libwrap/Makefile b/security/p5-Authen-Libwrap/Makefile index 02990b40aaee..a7f99918540b 100644 --- a/security/p5-Authen-Libwrap/Makefile +++ b/security/p5-Authen-Libwrap/Makefile @@ -15,11 +15,15 @@ PKGNAMEPREFIX= p5- MAINTAINER= hideo@lastamericanempire.com COMMENT= Authen::Libwrap - access to TCP Wrappers library -BUILD_DEPENDS= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_MODBUILD= yes MAN3= Authen::Libwrap.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +post-patch: + @${PERL} -pi -e 'undef $$_ if /^\s*(?:no|use) warnings/o' ${WRKSRC}/Build.PL ${WRKSRC}/lib/Authen/Libwrap.pm +.endif + +.include <bsd.port.post.mk> |