mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
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@
This commit is contained in:
parent
4e4940b328
commit
120650ca4e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75160
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user