diff options
author | erwin <erwin@FreeBSD.org> | 2006-04-22 11:29:24 +0000 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2006-04-22 11:29:24 +0000 |
commit | f8e2679f34e9ba1bb9e3ae4b530aab18e597a261 (patch) | |
tree | b2f684313d01f2b3812b9fb8241238a0b9ca6fbe /security/p5-Authen-Libwrap | |
parent | 08cd2be3a40cf6f1e4af3f7eaf0102ae93fcef1a (diff) | |
download | FreeBSD-ports-f8e2679f34e9ba1bb9e3ae4b530aab18e597a261.zip FreeBSD-ports-f8e2679f34e9ba1bb9e3ae4b530aab18e597a261.tar.gz |
Fix the build error on 5.005 due to the warnings pragma
PR: 96154
Submitted by: hideo <hideo@lastamericanempire.com> (maintainer)
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 02990b4..a7f9991 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> |