aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2009-09-09 17:28:25 +0800
committerkuriyama <kuriyama@FreeBSD.org>2009-09-09 17:28:25 +0800
commit9ad3a44fa70b1b91f39ecdd127df33822aa18824 (patch)
treebd3777ffbb7b9ae0bc6f775c91d55035a3e77cc4 /devel
parentbbee3e5872f023057aec8d694eeddd59aa3fec4e (diff)
downloadfreebsd-ports-gnome-9ad3a44fa70b1b91f39ecdd127df33822aa18824.tar.gz
freebsd-ports-gnome-9ad3a44fa70b1b91f39ecdd127df33822aa18824.tar.zst
freebsd-ports-gnome-9ad3a44fa70b1b91f39ecdd127df33822aa18824.zip
- Remove dependency on p5-PathTools (File::Spec), which is included
since perl 5.4. - Move p5-Scalar-Util dependency to conditional section for perl 5.6.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Tree-Simple-VisitorFactory/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/devel/p5-Tree-Simple-VisitorFactory/Makefile b/devel/p5-Tree-Simple-VisitorFactory/Makefile
index 81f7573db81a..f8890945eaf7 100644
--- a/devel/p5-Tree-Simple-VisitorFactory/Makefile
+++ b/devel/p5-Tree-Simple-VisitorFactory/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Tree-Simple-VisitorFactory
PORTVERSION= 0.10
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,9 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= A set of visitor objects for traversing Tree::Simple hierarchies
-BUILD_DEPENDS= ${SITE_PERL}/Tree/Simple.pm:${PORTSDIR}/devel/p5-Tree-Simple \
- ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
- ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+BUILD_DEPENDS= ${SITE_PERL}/Tree/Simple.pm:${PORTSDIR}/devel/p5-Tree-Simple
RUN_DEPENDS= ${BUILD_DEPENDS}
MAN3= Tree::Simple::Visitor::BreadthFirstTraversal.3 \
@@ -40,4 +39,10 @@ MAN3= Tree::Simple::Visitor::BreadthFirstTraversal.3 \
PERL_CONFIGURE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+BUILD_DEPENDS+= p5-Scalar-Util>=1.10:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>