<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9db4553115a462d0e1e98abeebdb2c3b614569dc">https://github.com/macports/macports-ports/commit/9db4553115a462d0e1e98abeebdb2c3b614569dc</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9db4553115a462d0e1e98abeebdb2c3b614569dc
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Fri Jul 28 21:51:45 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> p5-apache-authcookie: check mod_perl2 is installed with correct variant
</span>---
perl/p5-apache-authcookie/Portfile | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-apache-authcookie/Portfile b/perl/p5-apache-authcookie/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e08299a..e52649b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-apache-authcookie/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-apache-authcookie/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,6 +2,7 @@
</span>
PortSystem 1.0
PortGroup perl5 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup active_variants 1.1
</span>
perl5.branches 5.24 5.26
perl5.setup Apache-AuthCookie 3.26
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,9 +24,15 @@ if {${perl5.major} != ""} {
</span> port:p${perl5.major}-uri
depends_lib-append \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:apache2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:mod_perl2 \
</span> port:p${perl5.major}-class-load \
port:p${perl5.major}-hash-multivalue \
port:p${perl5.major}-http-body \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:p${perl5.major}-www-form-urlencoded \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:mod_perl2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:p${perl5.major}-www-form-urlencoded
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set required_variant [string map {. _} "perl${perl5.major}"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mod_perl2 $required_variant
</span> }
</pre><pre style='margin:0'>
</pre>