diff options
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> |