summaryrefslogtreecommitdiff
path: root/www/p5-Template-Toolkit
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-02-09 05:19:36 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-02-09 05:19:36 +0000
commit120650ca4ede2eaaabe954869319842cf9165c3c (patch)
treecb13b846b0e98dfd31b953bdf4626a2fd1cd6f48 /www/p5-Template-Toolkit
parentFix run_depends afterwards. (diff)
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@
Notes
Notes: svn path=/head/; revision=75160
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