aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-08-31 10:03:25 +0800
committerleeym <leeym@FreeBSD.org>2005-08-31 10:03:25 +0800
commit36a39dd73bc110d74982a6f5aa9a7c7748414e37 (patch)
treeb83dddf5c6dfde079805ea820759a1104f917de9 /www
parent79e7b437f796ecf3a1d372571cf0faabe8bad3c3 (diff)
downloadfreebsd-ports-gnome-36a39dd73bc110d74982a6f5aa9a7c7748414e37.tar.gz
freebsd-ports-gnome-36a39dd73bc110d74982a6f5aa9a7c7748414e37.tar.zst
freebsd-ports-gnome-36a39dd73bc110d74982a6f5aa9a7c7748414e37.zip
- fix $VERSION and unbreak
PR: 84185 Submitted by: leeym Approved by: maintainer timeout
Diffstat (limited to 'www')
-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>