diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-08-14 08:43:01 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-08-14 08:43:01 +0000 |
commit | 3e603ceca658e5e789ecf7821797c2799510b223 (patch) | |
tree | 4f89b7c0209d490790158aaf8474828f8c425bb4 /net/p5-POE-Component-Client-Telnet | |
parent | 284b30485a53cf3acdd4fe3a462993843b603d32 (diff) |
- Fix 'use warnings' in Perl 5.005_03
PR: ports/102000
Submitted by: maintainer (Jin-Shan Tseng)
Notes
Notes:
svn path=/head/; revision=170565
Diffstat (limited to 'net/p5-POE-Component-Client-Telnet')
-rw-r--r-- | net/p5-POE-Component-Client-Telnet/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/p5-POE-Component-Client-Telnet/Makefile b/net/p5-POE-Component-Client-Telnet/Makefile index 71c69e414513..5dd9a9e0c74a 100644 --- a/net/p5-POE-Component-Client-Telnet/Makefile +++ b/net/p5-POE-Component-Client-Telnet/Makefile @@ -7,6 +7,7 @@ PORTNAME= POE-Component-Client-Telnet PORTVERSION= 0.06 +PORTREVISION= 1 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= POE @@ -26,6 +27,12 @@ MAN3= POE::Component::Client::Telnet.3 .include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500600 +post-patch: + @${PERL} -pi -e '$$_ = "" if /use warnings/;' \ + ${WRKSRC}/Makefile.PL +.endif + .if ${PERL_LEVEL} < 500602 BUILD_DEPENDS+= p5-Test-Simple>=0.32:${PORTSDIR}/devel/p5-Test-Simple .endif |