[132669] trunk/dports/www/mod_perl2/Portfile
devans at macports.org
devans at macports.org
Fri Feb 6 15:14:09 PST 2015
Revision: 132669
https://trac.macports.org/changeset/132669
Author: devans at macports.org
Date: 2015-02-06 15:14:09 -0800 (Fri, 06 Feb 2015)
Log Message:
-----------
mod_perl2: add perl variants +perl5_16 +perl5_18 +perl5_20 and increment revision (#46749, maintainer timeout).
Modified Paths:
--------------
trunk/dports/www/mod_perl2/Portfile
Modified: trunk/dports/www/mod_perl2/Portfile
===================================================================
--- trunk/dports/www/mod_perl2/Portfile 2015-02-06 23:12:43 UTC (rev 132668)
+++ trunk/dports/www/mod_perl2/Portfile 2015-02-06 23:14:09 UTC (rev 132669)
@@ -2,10 +2,11 @@
# $Id$
PortSystem 1.0
+PortGroup perl5 1.0
name mod_perl2
version 2.0.8
-revision 1
+revision 2
maintainers cyberscript.net:ryan
categories www
license Apache-2
@@ -31,7 +32,13 @@
checksums rmd160 5863f229c1fe982852f05bf5c1af5d28dae28b7f \
sha256 35dc1b7a40a90a395ce88bba2df84f22289975f34d1757de6d715560c20a20e6
-depends_lib path:bin/perl:perl5 port:apache2
+perl5.require_variant yes
+perl5.conflict_variants yes
+perl5.branches 5.16 5.18 5.20
+perl5.create_variants ${perl5.branches}
+
+depends_lib port:apache2 \
+ port:perl${perl5.major}
worksrcdir mod_perl-${version}
if {[string match *clang* ${configure.compiler}]} {
@@ -41,7 +48,7 @@
set APXS ${prefix}/apache2/bin/apxs
configure {
- system -W ${worksrcpath} "${prefix}/bin/perl Makefile.PL MP_APXS=${APXS}"
+ system -W ${worksrcpath} "${perl5.bin} Makefile.PL MP_APXS=${APXS}"
}
destroot.violate_mtree yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150206/3048e2a9/attachment.html>
More information about the macports-changes
mailing list