aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Template-Toolkit
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-02-09 13:19:36 +0800
committeredwin <edwin@FreeBSD.org>2003-02-09 13:19:36 +0800
commitb1d773370be774b1df111e2656d1f6ad32b8340c (patch)
treea4a3743bb8925f9ff273c132759f1adc350883bd /www/p5-Template-Toolkit
parent2cd45ef84bd5c9139a07808260d55195e4447f7f (diff)
downloadfreebsd-ports-gnome-b1d773370be774b1df111e2656d1f6ad32b8340c.tar.gz
freebsd-ports-gnome-b1d773370be774b1df111e2656d1f6ad32b8340c.tar.zst
freebsd-ports-gnome-b1d773370be774b1df111e2656d1f6ad32b8340c.zip
www/p5-Template-Toolkit: p5-File-Spec should only be used if perl < 5.8
PR: ports/44733 Submitted by: Alan Eldridge <alane@geeksrus.net> Reviewed by: tobez@
Diffstat (limited to 'www/p5-Template-Toolkit')
-rw-r--r--www/p5-Template-Toolkit/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/p5-Template-Toolkit/Makefile b/www/p5-Template-Toolkit/Makefile
index ecc3f3d9e924..e41e194e2911 100644
--- a/www/p5-Template-Toolkit/Makefile
+++ b/www/p5-Template-Toolkit/Makefile
@@ -15,7 +15,6 @@ PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
BUILD_DEPENDS= ${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig \
- ${SITE_PERL}/File/Spec/Functions.pm:${PORTSDIR}/devel/p5-File-Spec \
${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
RUN_DEPENDS= ${BUILD_DEPENDS}
@@ -26,6 +25,11 @@ MASTER_SITE_BACKUP+= http://www.template-toolkit.org/download/
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500601
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec/Functions.pm:${PORTSDIR}/devel/p5-File-Spec
+RUN_DEPENDS+= ${SITE_PERL}/File/Spec/Functions.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
+
.if defined(BATCH)
CONFIGURE_ENV= |
.endif