svn commit: r381148 - in head: devel/p5-Class-C3 devel/p5-Moo www/p5-Dancer2
Adam Weinberger
adamw at FreeBSD.org
Thu Mar 12 19:40:00 UTC 2015
Author: adamw
Date: Thu Mar 12 19:39:57 2015
New Revision: 381148
URL: https://svnweb.freebsd.org/changeset/ports/381148
QAT: https://qat.redports.org/buildarchive/r381148/
Log:
Use XS from bsd.options.desc.mk.
Modified:
head/devel/p5-Class-C3/Makefile
head/devel/p5-Moo/Makefile
head/www/p5-Dancer2/Makefile
Modified: head/devel/p5-Class-C3/Makefile
==============================================================================
--- head/devel/p5-Class-C3/Makefile Thu Mar 12 19:30:57 2015 (r381147)
+++ head/devel/p5-Class-C3/Makefile Thu Mar 12 19:39:57 2015 (r381148)
@@ -11,19 +11,14 @@ MAINTAINER= perl at 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>
Modified: head/devel/p5-Moo/Makefile
==============================================================================
--- head/devel/p5-Moo/Makefile Thu Mar 12 19:30:57 2015 (r381147)
+++ head/devel/p5-Moo/Makefile Thu Mar 12 19:39:57 2015 (r381148)
@@ -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
Modified: head/www/p5-Dancer2/Makefile
==============================================================================
--- head/www/p5-Dancer2/Makefile Thu Mar 12 19:30:57 2015 (r381147)
+++ head/www/p5-Dancer2/Makefile Thu Mar 12 19:39:57 2015 (r381148)
@@ -47,8 +47,7 @@ TEST_DEPENDS= p5-Test-Memory-Cycle>=0:${
p5-LWP-Protocol-https>0:${PORTSDIR}/www/p5-LWP-Protocol-https \
p5-LWP-Protocol-PSGI>=0.06:${PORTSDIR}/www/p5-LWP-Protocol-PSGI
-OPTIONS_DEFINE= XS
-XS_DESC= Use XS modules for speed boost
+OPTIONS_DEFINE= XS
XS_BUILD_DEPENDS= p5-CGI-Deurl-XS>=0:${PORTSDIR}/www/p5-CGI-Deurl-XS \
p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS \
More information about the svn-ports-all
mailing list