mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
- unbreak on old perl
Submitted by: leeym Approved by: maintainer via email
This commit is contained in:
parent
f47cde8e99
commit
6cd83c2c11
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151933
2 changed files with 6 additions and 9 deletions
|
@ -21,7 +21,10 @@ MAN3= Digest::Perl::Digest-MD4.3 \
|
||||||
WRKSRC= ${WRKDIR}/MD4
|
WRKSRC= ${WRKDIR}/MD4
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.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
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -17,10 +17,4 @@ PERL_CONFIGURE= yes
|
||||||
|
|
||||||
MAN3= Digest::Perl::MD5.3
|
MAN3= Digest::Perl::MD5.3
|
||||||
|
|
||||||
#WRKSRC= ${WRKDIR}/MD5
|
.include <bsd.port.mk>
|
||||||
|
|
||||||
.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>
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue