aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2009-04-03 17:56:31 +0800
committerdemon <demon@FreeBSD.org>2009-04-03 17:56:31 +0800
commitc136e230d3448a2005db2f0088ab754a1a739700 (patch)
treeae21ea71b46c2c54306d23edac71393d72370351 /devel
parentd1852545897228549159367b86c702722817e071 (diff)
downloadfreebsd-ports-gnome-c136e230d3448a2005db2f0088ab754a1a739700.tar.gz
freebsd-ports-gnome-c136e230d3448a2005db2f0088ab754a1a739700.tar.zst
freebsd-ports-gnome-c136e230d3448a2005db2f0088ab754a1a739700.zip
Do not depend on ExtUtils::CBuilder if perl version >= 5.10.
Bump portrevision. PR: 133334 Submitted by: leeym
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-ExtUtils-ParseXS/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/devel/p5-ExtUtils-ParseXS/Makefile b/devel/p5-ExtUtils-ParseXS/Makefile
index 52bdaaf61198..ba528274356f 100644
--- a/devel/p5-ExtUtils-ParseXS/Makefile
+++ b/devel/p5-ExtUtils-ParseXS/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ExtUtils-ParseXS
PORTVERSION= 2.19
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,11 +15,15 @@ PKGNAMEPREFIX= p5-
MAINTAINER= demon@FreeBSD.org
COMMENT= Converts Perl XS code into C code
-BUILD_DEPENDS= ${SITE_PERL}/ExtUtils/CBuilder.pm:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= ExtUtils::ParseXS.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>