diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-12-24 02:44:02 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-12-24 02:44:02 +0000 |
commit | 8216acdc022e52566e6bad2c60c0e33382d92d77 (patch) | |
tree | 5839aff3f4fab1bb2bcc31d9372a054f5a916f90 /security/p5-Digest-SV1 | |
parent | 94b12440c8a59af1a86229a92817493aa4ae4c05 (diff) | |
download | ports-8216acdc022e52566e6bad2c60c0e33382d92d77.tar.gz ports-8216acdc022e52566e6bad2c60c0e33382d92d77.zip |
Notes
Diffstat (limited to 'security/p5-Digest-SV1')
-rw-r--r-- | security/p5-Digest-SV1/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/security/p5-Digest-SV1/Makefile b/security/p5-Digest-SV1/Makefile index a9c110df626e..92d0384c360b 100644 --- a/security/p5-Digest-SV1/Makefile +++ b/security/p5-Digest-SV1/Makefile @@ -18,13 +18,16 @@ BUILD_DEPENDS= ${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest \ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ ${SITE_PERL}/${PERL_ARCH}/Digest/Haval256.pm:${PORTSDIR}/security/p5-Digest-Haval256 -PERL_CONFIGURE= yes -PERL_MODBUILD= yes +PERL_MODBUILD= yes MAN3= Digest::SV1.3 .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}/SV1.pm + ${PERL} -pi -e '$$_="" if m{warnings}' ${WRKSRC}/lib/Digest/SV1.pm .endif + .include <bsd.port.post.mk> |