diff options
author | leeym <leeym@FreeBSD.org> | 2005-12-24 10:44:02 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2005-12-24 10:44:02 +0800 |
commit | 0746f995cb275b57be9510bb027ab696d0c54825 (patch) | |
tree | 8142aae5eebac68dd26c1d1fcc666691117fe061 /security/p5-Digest-SV1 | |
parent | 4aa939548f5704b9d992bd02ad45b80127564e6d (diff) | |
download | freebsd-ports-gnome-0746f995cb275b57be9510bb027ab696d0c54825.tar.gz freebsd-ports-gnome-0746f995cb275b57be9510bb027ab696d0c54825.tar.zst freebsd-ports-gnome-0746f995cb275b57be9510bb027ab696d0c54825.zip |
- unbreak on old perl
Submitted by: leeym
Approved by: maintainer via email
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> |