From e2e38c3b392b85407761beb298bbb7ed4edf5d09 Mon Sep 17 00:00:00 2001 From: leeym Date: Fri, 23 Dec 2005 18:03:15 +0000 Subject: - unbreak on old perl Submitted by: leeym Approved by: maintainer via email --- security/p5-Digest-Perl-MD4/Makefile | 7 +++++-- security/p5-Digest-Perl-MD5/Makefile | 8 +------- 2 files changed, 6 insertions(+), 9 deletions(-) (limited to 'security') 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 -.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 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 -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again -.endif -.include +.include -- cgit