summaryrefslogtreecommitdiffstats
path: root/devel/p5-Class-Hook
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-08-30 08:21:39 +0000
committerleeym <leeym@FreeBSD.org>2005-08-30 08:21:39 +0000
commitc7eec727297dd014a8c0663b6f784394668d9b8c (patch)
tree6ccfa952881537646fa33543202f4b6b2042ab35 /devel/p5-Class-Hook
parent593eb0f6208f654a786eab4d1040ad63bc8a3f68 (diff)
downloadFreeBSD-ports-c7eec727297dd014a8c0663b6f784394668d9b8c.zip
FreeBSD-ports-c7eec727297dd014a8c0663b6f784394668d9b8c.tar.gz
- fix $VERSION and unbreak this port for old perl
PR: 84178 Submitted by: leeym Approved by: maintainer timeout
Diffstat (limited to 'devel/p5-Class-Hook')
-rw-r--r--devel/p5-Class-Hook/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/p5-Class-Hook/Makefile b/devel/p5-Class-Hook/Makefile
index b777bcf..1d558db 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>
OpenPOWER on IntegriCloud