diff options
author | demon <demon@FreeBSD.org> | 2009-04-03 17:56:31 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2009-04-03 17:56:31 +0800 |
commit | c136e230d3448a2005db2f0088ab754a1a739700 (patch) | |
tree | ae21ea71b46c2c54306d23edac71393d72370351 /devel | |
parent | d1852545897228549159367b86c702722817e071 (diff) | |
download | freebsd-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/Makefile | 13 |
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> |