diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-12-23 18:12:05 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-12-23 18:12:05 +0000 |
commit | 4838c3041b4494290a3ef447a94a5505cc093c8d (patch) | |
tree | 483491c146455e81dff2f5d46fa4f5d21993d7a7 /security/p5-Digest-JHash/Makefile | |
parent | 6cd83c2c1144d9153383433448059a428ffb9f8e (diff) |
Notes
Diffstat (limited to 'security/p5-Digest-JHash/Makefile')
-rw-r--r-- | security/p5-Digest-JHash/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/security/p5-Digest-JHash/Makefile b/security/p5-Digest-JHash/Makefile index a69c99c1c22d..8dbca0091d4b 100644 --- a/security/p5-Digest-JHash/Makefile +++ b/security/p5-Digest-JHash/Makefile @@ -13,12 +13,15 @@ PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension for JHash hash algorithm -PERL_CONFIGURE= yes +PERL_CONFIGURE= yes MAN3= Digest::JHash.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}/JHash.pm .endif + .include <bsd.port.post.mk> |