aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Acme-Monta
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-07-29 00:22:46 +0800
committerleeym <leeym@FreeBSD.org>2005-07-29 00:22:46 +0800
commit4cc2c66be7a656cfd8df7e7d0ca415d00ba26a79 (patch)
tree564c406ba0acd3cba7d626a1f8edaa2a4c5e14e7 /www/p5-Acme-Monta
parent7ec812e2509cb526e78c6f03634bb34e44b538c4 (diff)
downloadfreebsd-ports-gnome-4cc2c66be7a656cfd8df7e7d0ca415d00ba26a79.tar.gz
freebsd-ports-gnome-4cc2c66be7a656cfd8df7e7d0ca415d00ba26a79.tar.zst
freebsd-ports-gnome-4cc2c66be7a656cfd8df7e7d0ca415d00ba26a79.zip
- fix '$VERSION' and unbreak this port on perl-5.00503
PR: 84174 Submitted by: leeym Approved by: TAKAHASHI Kaoru <kaoru@kaisei.org>
Diffstat (limited to 'www/p5-Acme-Monta')
-rw-r--r--www/p5-Acme-Monta/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/p5-Acme-Monta/Makefile b/www/p5-Acme-Monta/Makefile
index 3268a16bada0..07462b5ae272 100644
--- a/www/p5-Acme-Monta/Makefile
+++ b/www/p5-Acme-Monta/Makefile
@@ -19,4 +19,12 @@ PERL_CONFIGURE= yes
MAN3= Acme::Monta.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ @${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' \
+ ${WRKSRC}/lib/Acme/Monta.pm
+.endif
+
+.include <bsd.port.post.mk>