aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Crypt-X509
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-12-30 20:38:46 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-12-30 20:38:46 +0000
commitc06da79cfbfa4a8514ef25edd8257750fc7b1b5e (patch)
treefa2ef34fa8947565b4718960bb88b827af3cb68b /security/p5-Crypt-X509
parent29e56c9935c1a3a7d271c30a9d1db4dfbbcaa6bb (diff)
downloadports-c06da79cfbfa4a8514ef25edd8257750fc7b1b5e.tar.gz
ports-c06da79cfbfa4a8514ef25edd8257750fc7b1b5e.zip
- remove IGNORE on old perl
Submitted by: leeym Approved by: maintainer via email
Notes
Notes: svn path=/head/; revision=152445
Diffstat (limited to 'security/p5-Crypt-X509')
-rw-r--r--security/p5-Crypt-X509/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/security/p5-Crypt-X509/Makefile b/security/p5-Crypt-X509/Makefile
index 8e3537671142..0f3434ef24ed 100644
--- a/security/p5-Crypt-X509/Makefile
+++ b/security/p5-Crypt-X509/Makefile
@@ -22,7 +22,11 @@ MAN3= Crypt::X509.3
WRKSRC= ${WRKDIR}/Crypt-X509
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} <= 500503
-IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/lib/Crypt/X509.pm
+ ${PERL} -pi -e '$$_="" if m{warnings}' ${WRKSRC}/lib/Crypt/X509.pm
.endif
+
.include <bsd.port.post.mk>