<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2000c58f00af65a8d7f21f63d2e0b091773213d0">https://github.com/macports/macports-ports/commit/2000c58f00af65a8d7f21f63d2e0b091773213d0</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 2000c58 glpk: add variant for MySQL 8
</span>2000c58 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2000c58f00af65a8d7f21f63d2e0b091773213d0
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Sep 7 23:29:18 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> glpk: add variant for MySQL 8
</span>---
math/glpk/Portfile | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/glpk/Portfile b/math/glpk/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4270408..30c00e1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/glpk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/glpk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -86,7 +86,7 @@ variant iodbc description {enable MathProg ODBC support using iODBC} {
</span>
variant mysql requires mysql5 description {legacy variant, use +mysql5 instead} {}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql5 conflicts mysql56 description {enable MathProg MySQL support using MySQL 5.1} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mysql5 conflicts mysql56 mysql8 description {enable MathProg MySQL support using MySQL 5.1} {
</span> depends_lib-append path:bin/mysql_config5:mysql5
configure.args-append --enable-mysql
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -100,7 +100,7 @@ variant mysql5 conflicts mysql56 description {enable MathProg MySQL support usin
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql56 conflicts mysql5 description {enable MathProg MySQL support using MySQL 5.6} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mysql56 conflicts mysql5 mysql8 description {enable MathProg MySQL support using MySQL 5.6} {
</span> depends_lib-append port:mysql56
configure.args-append --enable-mysql
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -113,3 +113,17 @@ variant mysql56 conflicts mysql5 description {enable MathProg MySQL support usin
</span> ${worksrcpath}/configure
}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mysql8 conflicts mysql5 mysql56 description {enable MathProg MySQL support using MySQL 8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mysql8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-mysql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS__MYSQL__INCLUDE__|${prefix}/include/mysql8/mysql|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS__MYSQL__LIB__|${prefix}/lib/mysql8/mysql|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>