diff options
author | edwin <edwin@FreeBSD.org> | 2003-02-09 05:19:36 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-02-09 05:19:36 +0000 |
commit | b1d773370be774b1df111e2656d1f6ad32b8340c (patch) | |
tree | a4a3743bb8925f9ff273c132759f1adc350883bd | |
parent | 2cd45ef84bd5c9139a07808260d55195e4447f7f (diff) | |
download | FreeBSD-ports-b1d773370be774b1df111e2656d1f6ad32b8340c.zip FreeBSD-ports-b1d773370be774b1df111e2656d1f6ad32b8340c.tar.gz |
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@
-rw-r--r-- | www/p5-Template-Toolkit/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/p5-Template-Toolkit/Makefile b/www/p5-Template-Toolkit/Makefile index ecc3f3d..e41e194 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 |