aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2001-04-08 18:10:14 +0000
committerClive Lin <clive@FreeBSD.org>2001-04-08 18:10:14 +0000
commitf3a26ac7d5f056a1ae5b9a316f9471f9e65e2c64 (patch)
treea90a2c30869df664f46ef7888693f65f5fa13509 /www
parent8675b7998a4e21516b5ed4bde81f2fb957c3fa74 (diff)
Notes
Diffstat (limited to 'www')
-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>