aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Digest-Perl-MD4
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-12-24 02:03:15 +0800
committerleeym <leeym@FreeBSD.org>2005-12-24 02:03:15 +0800
commite2e38c3b392b85407761beb298bbb7ed4edf5d09 (patch)
treeaccb4a6d07249a0e09d2c1a653a13b55bd9de235 /security/p5-Digest-Perl-MD4
parent1a981bdd44dc438aae3cc45a72dbf3e91100228e (diff)
downloadfreebsd-ports-gnome-e2e38c3b392b85407761beb298bbb7ed4edf5d09.tar.gz
freebsd-ports-gnome-e2e38c3b392b85407761beb298bbb7ed4edf5d09.tar.zst
freebsd-ports-gnome-e2e38c3b392b85407761beb298bbb7ed4edf5d09.zip
- unbreak on old perl
Submitted by: leeym Approved by: maintainer via email
Diffstat (limited to 'security/p5-Digest-Perl-MD4')
-rw-r--r--security/p5-Digest-Perl-MD4/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/security/p5-Digest-Perl-MD4/Makefile b/security/p5-Digest-Perl-MD4/Makefile
index c2f14fc1fab5..02ec4664c114 100644
--- a/security/p5-Digest-Perl-MD4/Makefile
+++ b/security/p5-Digest-Perl-MD4/Makefile
@@ -21,7 +21,10 @@ MAN3= Digest::Perl::Digest-MD4.3 \
WRKSRC= ${WRKDIR}/MD4
.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 '$$_ = "" if m{warnings}' ${WRKSRC}/MD4.pm
.endif
+
.include <bsd.port.post.mk>