aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-02-05 18:34:06 +0800
committeredwin <edwin@FreeBSD.org>2003-02-05 18:34:06 +0800
commit78f8ad39bae6b1031c68037579ce3342c765dc8d (patch)
treeaf5bd173448abdb88b24c88991f55d0da84db325 /www
parent84cce216a34d5b1c8629e6a9c113d6bfe58083d3 (diff)
downloadfreebsd-ports-gnome-78f8ad39bae6b1031c68037579ce3342c765dc8d.tar.gz
freebsd-ports-gnome-78f8ad39bae6b1031c68037579ce3342c765dc8d.tar.zst
freebsd-ports-gnome-78f8ad39bae6b1031c68037579ce3342c765dc8d.zip
www/p5-HTML-Mason: p5-File-Spec should only be used if perl < 5.8
PR: ports/44731 Submitted by: Alan Eldridge <alane@geeksrus.net>
Diffstat (limited to 'www')
-rw-r--r--www/p5-HTML-Mason/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/www/p5-HTML-Mason/Makefile b/www/p5-HTML-Mason/Makefile
index 92b363e09fec..ab46c658bd36 100644
--- a/www/p5-HTML-Mason/Makefile
+++ b/www/p5-HTML-Mason/Makefile
@@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= dsh@vlink.ru
-BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
- ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
${SITE_PERL}/Class/Container.pm:${PORTSDIR}/devel/p5-Class-Container
@@ -56,4 +55,10 @@ MAN3= Bundle::HTML::Mason.3 \
HTML::Mason::Tools.3 \
HTML::Mason::Utils.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} <= 50601
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
+
+.include <bsd.port.post.mk>