aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/p5-Digest-Perl-MD4/Makefile7
-rw-r--r--security/p5-Digest-Perl-MD5/Makefile8
2 files changed, 6 insertions, 9 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>
diff --git a/security/p5-Digest-Perl-MD5/Makefile b/security/p5-Digest-Perl-MD5/Makefile
index 6b4e77084f3a..b4a241f23e31 100644
--- a/security/p5-Digest-Perl-MD5/Makefile
+++ b/security/p5-Digest-Perl-MD5/Makefile
@@ -17,10 +17,4 @@ PERL_CONFIGURE= yes
MAN3= Digest::Perl::MD5.3
-#WRKSRC= ${WRKDIR}/MD5
-
-.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} <= 500503
-IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>