diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-08-30 08:21:39 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-08-30 08:21:39 +0000 |
commit | 439752968f6ad68f9fb96f27f1e926773d3f9ff8 (patch) | |
tree | fd06638b925cd681cbd284d0bfe7370e4973d1fe /devel/p5-Class-Hook/Makefile | |
parent | b64562f6186aa759ea733e75941e00579e1d5a52 (diff) | |
download | ports-439752968f6ad68f9fb96f27f1e926773d3f9ff8.tar.gz ports-439752968f6ad68f9fb96f27f1e926773d3f9ff8.zip |
Notes
Diffstat (limited to 'devel/p5-Class-Hook/Makefile')
-rw-r--r-- | devel/p5-Class-Hook/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/p5-Class-Hook/Makefile b/devel/p5-Class-Hook/Makefile index b777bcfc4432..1d558dbafad5 100644 --- a/devel/p5-Class-Hook/Makefile +++ b/devel/p5-Class-Hook/Makefile @@ -25,10 +25,8 @@ MAN3= Class::Hook.3 ARCH_PERL= ${SITE_PERL}/${PERL_ARCH} -.include <bsd.port.pre.mk> +post-patch: + @${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' \ + ${WRKSRC}/lib/Class/Hook.pm -.if ${OSVERSION} < 500000 -BROKEN= "Does not compile" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |