diff options
author | adamw <adamw@FreeBSD.org> | 2015-03-13 03:39:57 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2015-03-13 03:39:57 +0800 |
commit | 890b753de718f639eb1e299234f71ef091340936 (patch) | |
tree | 18975637260069b6cdae569888fb9dd6f645ff23 /devel | |
parent | 23227ac8671c24af1399699fdc92d6985bb812f0 (diff) | |
download | freebsd-ports-gnome-890b753de718f639eb1e299234f71ef091340936.tar.gz freebsd-ports-gnome-890b753de718f639eb1e299234f71ef091340936.tar.zst freebsd-ports-gnome-890b753de718f639eb1e299234f71ef091340936.zip |
Use XS from bsd.options.desc.mk.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Class-C3/Makefile | 13 | ||||
-rw-r--r-- | devel/p5-Moo/Makefile | 1 |
2 files changed, 4 insertions, 10 deletions
diff --git a/devel/p5-Class-C3/Makefile b/devel/p5-Class-C3/Makefile index 9d4f781d904b..0a44e65fda2c 100644 --- a/devel/p5-Class-C3/Makefile +++ b/devel/p5-Class-C3/Makefile @@ -11,19 +11,14 @@ MAINTAINER= perl@FreeBSD.org COMMENT= Pragma to use the C3 method resolution order algorithm OPTIONS_DEFINE= XS -XS_DESC= XS speed optimizations USES= perl5 USE_PERL5= configure -.include <bsd.port.options.mk> +XS_BUILD_DEPENDS= p5-Class-C3-XS>=0.13:${PORTSDIR}/devel/p5-Class-C3-XS +XS_RUN_DEPENDS= p5-Class-C3-XS>=0.13:${PORTSDIR}/devel/p5-Class-C3-XS -.if ${PORT_OPTIONS:MXS} -BUILD_DEPENDS+= p5-Class-C3-XS>=0.13:${PORTSDIR}/devel/p5-Class-C3-XS -RUN_DEPENDS+= p5-Class-C3-XS>=0.13:${PORTSDIR}/devel/p5-Class-C3-XS -.else -BUILD_DEPENDS+= p5-Algorithm-C3>=0.07:${PORTSDIR}/devel/p5-Algorithm-C3 -RUN_DEPENDS+= p5-Algorithm-C3>=0.07:${PORTSDIR}/devel/p5-Algorithm-C3 -.endif +XS_BUILD_DEPENDS_OFF= p5-Algorithm-C3>=0.07:${PORTSDIR}/devel/p5-Algorithm-C3 +XS_RUN_DEPENDS_OFF= p5-Algorithm-C3>=0.07:${PORTSDIR}/devel/p5-Algorithm-C3 .include <bsd.port.mk> diff --git a/devel/p5-Moo/Makefile b/devel/p5-Moo/Makefile index 485f55540ff5..180037d8e28a 100644 --- a/devel/p5-Moo/Makefile +++ b/devel/p5-Moo/Makefile @@ -26,7 +26,6 @@ USES= perl5 USE_PERL5= configure OPTIONS_DEFINE= XS -XS_DESC= Use XS libraries for speed boost XS_BUILD_DEPENDS= p5-Class-XSAccessor>=1.18:${PORTSDIR}/devel/p5-Class-XSAccessor \ p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils |