aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Template-Toolkit
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2001-04-09 02:10:14 +0800
committerclive <clive@FreeBSD.org>2001-04-09 02:10:14 +0800
commit880d566e90dbda509405c3991c15865c295be9ec (patch)
tree504647c46dcf55e89625b34e8f1e15c809b48c78 /www/p5-Template-Toolkit
parent19c6016b5dd0da2a7743f16d53f50a5c453dcee1 (diff)
downloadfreebsd-ports-gnome-880d566e90dbda509405c3991c15865c295be9ec.tar.gz
freebsd-ports-gnome-880d566e90dbda509405c3991c15865c295be9ec.tar.zst
freebsd-ports-gnome-880d566e90dbda509405c3991c15865c295be9ec.zip
Mark broken if ${OSVERSION} < 500007.
Perl in such systems is too old, this port needs File::Spec at least version 0.82. Obtained from: template-toolkit.org Proven by: bento
Diffstat (limited to 'www/p5-Template-Toolkit')
-rw-r--r--www/p5-Template-Toolkit/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/p5-Template-Toolkit/Makefile b/www/p5-Template-Toolkit/Makefile
index 3303243834c8..f055210a5463 100644
--- a/www/p5-Template-Toolkit/Makefile
+++ b/www/p5-Template-Toolkit/Makefile
@@ -22,6 +22,12 @@ PERL_CONFIGURE= yes
MASTER_SITE_BACKUP+= http://www.template-toolkit.org/download/
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500007
+BROKEN= "Perl in base system too old, you need perl 5.6.0"
+.endif
+
.if defined(BATCH)
CONFIGURE_ENV= |
.endif
@@ -58,4 +64,4 @@ post-patch:
${PERL} -pi -e 's,${LOCALBASE}/tt2,${LOCALBASE}/share/tt2,g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>