diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-12-24 02:50:55 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-12-24 02:50:55 +0000 |
commit | 76b50962d00bda8a89f471ee5fdda831cf426089 (patch) | |
tree | 3f16ff42e5bcdfa29366ef3ea095c51107bbb96e /security/p5-Digest-DJB/Makefile | |
parent | f167e2a43e15598427bbe02f3484a1d0201e0d43 (diff) |
Notes
Diffstat (limited to 'security/p5-Digest-DJB/Makefile')
-rw-r--r-- | security/p5-Digest-DJB/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/security/p5-Digest-DJB/Makefile b/security/p5-Digest-DJB/Makefile index 6fbd06e28464..5dda97e6aadf 100644 --- a/security/p5-Digest-DJB/Makefile +++ b/security/p5-Digest-DJB/Makefile @@ -13,12 +13,18 @@ PKGNAMEPREFIX= p5- MAINTAINER= gkovesdan@t-hosting.hu COMMENT= Perl extension for D.J Bernstein's hash algorithm -PERL_CONFIGURE= yes +PERL_CONFIGURE= yes MAN3= Digest::DJB.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 +EXTRA_PATCHES= ${PATCHDIR}/extrapatch-DJB.xs + +post-patch: + ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/DJB.pm + ${PERL} -pi -e '$$_="" if m{5.006|warnings}' ${WRKSRC}/DJB.pm .endif + .include <bsd.port.post.mk> |