aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2015-03-12 19:39:57 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2015-03-12 19:39:57 +0000
commitc3a56e44d77015aeee527160e0a9eac3e6f20085 (patch)
tree18975637260069b6cdae569888fb9dd6f645ff23 /devel
parent4467a48bfcbbb80b616f2d7b37f2193bd8d30cb0 (diff)
downloadports-c3a56e44d77015aeee527160e0a9eac3e6f20085.tar.gz
ports-c3a56e44d77015aeee527160e0a9eac3e6f20085.zip
Use XS from bsd.options.desc.mk.
Notes
Notes: svn path=/head/; revision=381148
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Class-C3/Makefile13
-rw-r--r--devel/p5-Moo/Makefile1
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