<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/c7edec13eefa354f711d277f8419d195a83ab6c8">https://github.com/macports/macports-ports/commit/c7edec13eefa354f711d277f8419d195a83ab6c8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c7edec13eefa354f711d277f8419d195a83ab6c8
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Wed Jul 5 19:01:26 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> p5-libapreq2: fix active variants check
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> perl5.variant is not set unless variants are created, not for subports.
</span>---
perl/p5-libapreq2/Portfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-libapreq2/Portfile b/perl/p5-libapreq2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 78407e6..011d40c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-libapreq2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-libapreq2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,10 +30,10 @@ depends_lib-append port:apache2 \
</span> port:mod_perl2 \
port:p${perl5.major}-extutils-xsbuilder
<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> require_active_variants \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- mod_perl2 ${perl5.variant}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-require_active_variants \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- perl5 ${perl5.variant}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mod_perl2 $required_variant
</span>
set apxs ${prefix}/apache2/bin/apxs
</pre><pre style='margin:0'>
</pre>