diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-12-23 17:55:13 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-12-23 17:55:13 +0000 |
commit | f757ba4633707fa5c0d289c0ee967f4407712484 (patch) | |
tree | b63c9fb56a71f3e5a29072cbf64cf338ef78038b /security/p5-Digest-Elf | |
parent | c910674acfec5403e0876b3c73aa23c4ba001b56 (diff) | |
download | ports-f757ba4633707fa5c0d289c0ee967f4407712484.tar.gz ports-f757ba4633707fa5c0d289c0ee967f4407712484.zip |
Notes
Diffstat (limited to 'security/p5-Digest-Elf')
-rw-r--r-- | security/p5-Digest-Elf/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/security/p5-Digest-Elf/Makefile b/security/p5-Digest-Elf/Makefile index fcfb2cc1240e..0ee892bb898a 100644 --- a/security/p5-Digest-Elf/Makefile +++ b/security/p5-Digest-Elf/Makefile @@ -18,7 +18,11 @@ PERL_CONFIGURE= yes MAN3= Digest::Elf.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}/Elf.pm + ${PERL} -pi -e '$$_="" if m{5.006|warnings}' ${WRKSRC}/Elf.pm .endif + .include <bsd.port.post.mk> |