<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8fe96f2e976e153bb3a531fb1b786e60fdbf5a22">https://github.com/macports/macports-ports/commit/8fe96f2e976e153bb3a531fb1b786e60fdbf5a22</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8fe96f2e976e153bb3a531fb1b786e60fdbf5a22
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Sun Oct 15 12:43:34 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> bugzilla: add apache22 and mysql57 variants
</span>---
devel/bugzilla/Portfile | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/bugzilla/Portfile b/devel/bugzilla/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f897e2a..2282339 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/bugzilla/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/bugzilla/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -68,11 +68,21 @@ depends_lib port:apache2 \
</span> port:p${perl5.major}-io-stringy \
port:patchutils
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql5 description "Use mysql5 database" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant apache22 description "use apache22 instead of apache2" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-replace port:apache2 port:apache22
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mysql5 conflicts mysql57 description "Use mysql5 database" {
</span> depends_lib-append path:bin/mysql_config5:mysql5
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +mysql5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mysql57 conflicts mysql5 description "Use mysql57 database" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mysql57
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset mysql5] && ![variant_isset mysql57]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +mysql5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
post-patch {
foreach item [glob ${worksrcpath}/*.cgi ${worksrcpath}/*.pl \
</pre><pre style='margin:0'>
</pre>