aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Maypole-Component
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-08-31 02:03:25 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-08-31 02:03:25 +0000
commitfed5fbab28349504814631166a3cd37362609ab1 (patch)
tree6a0d1d75d2a583781e12ae41c09d06aef2e7fac8 /www/p5-Maypole-Component
parent54347aa8a35400737bfbc58b7df2ee70b65b5e6c (diff)
downloadports-fed5fbab28349504814631166a3cd37362609ab1.tar.gz
ports-fed5fbab28349504814631166a3cd37362609ab1.zip
Notes
Diffstat (limited to 'www/p5-Maypole-Component')
-rw-r--r--www/p5-Maypole-Component/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/www/p5-Maypole-Component/Makefile b/www/p5-Maypole-Component/Makefile
index f9768f18e11b..b5c0f6ea2a99 100644
--- a/www/p5-Maypole-Component/Makefile
+++ b/www/p5-Maypole-Component/Makefile
@@ -18,10 +18,8 @@ PERL_CONFIGURE= yes
MAN3= Maypole::Component.3
-.include <bsd.port.pre.mk>
+post-patch:
+ @${PERL} -pi -e 's/use 5.006/use 5.005/' ${WRKSRC}/Makefile.PL
+ @${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' ${WRKSRC}/Component.pm
-.if ${OSVERSION} < 500000
-BROKEN= "Does not build on FreeBSD 4.x"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>