[142038] trunk/dports/perl/p5-libapreq2/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 04:04:06 PST 2015


Revision: 142038
          https://trac.macports.org/changeset/142038
Author:   mojca at macports.org
Date:     2015-11-02 07:49:21 -0800 (Mon, 02 Nov 2015)
Log Message:
-----------
p5-libapreq5: add p5.18-5.22 subports and enforce active variants of mod_perl2 (subports incompatible with each other; #42582)

Modified Paths:
--------------
    trunk/dports/perl/p5-libapreq2/Portfile

Modified: trunk/dports/perl/p5-libapreq2/Portfile
===================================================================
--- trunk/dports/perl/p5-libapreq2/Portfile	2015-11-02 15:43:58 UTC (rev 142037)
+++ trunk/dports/perl/p5-libapreq2/Portfile	2015-11-02 15:49:21 UTC (rev 142038)
@@ -3,8 +3,12 @@
 
 PortSystem          1.0
 PortGroup           perl5 1.0
+PortGroup           active_variants 1.1
 
-perl5.branches      5.16
+# TODO:
+# - subports conflict with each other
+# - https://trac.macports.org/ticket/42582
+perl5.branches      5.16 5.18 5.20 5.22
 perl5.setup         libapreq2 2.13 Apache2
 revision            4
 license             Apache-2
@@ -26,6 +30,11 @@
                     port:mod_perl2 \
                     port:p${perl5.major}-extutils-xsbuilder
 
+require_active_variants \
+                    mod_perl2 ${perl5.variant}
+require_active_variants \
+                    perl5 ${perl5.variant}
+
 set apxs            ${prefix}/apache2/bin/apxs
 
 configure.args      --with-apache2-apxs=${apxs} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/7c4938b9/attachment.html>


More information about the macports-changes mailing list