<pre style='margin:0'>
Jeremy L (nerdling) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c175b9ba889d42decf33b787906eb70801265031">https://github.com/macports/macports-ports/commit/c175b9ba889d42decf33b787906eb70801265031</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 c175b9b libiodbc: provide variant for extra libodbc.so library
</span>c175b9b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c175b9ba889d42decf33b787906eb70801265031
</span>Author: Jeremy Lavergne <snc@macports.org>
AuthorDate: Mon May 7 11:39:28 2018 -0400
<span style='display:block; white-space:pre;color:#404040;'> libiodbc: provide variant for extra libodbc.so library
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes trac 55661
</span>---
devel/libiodbc/Portfile | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libiodbc/Portfile b/devel/libiodbc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 411c695..1de9a3b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libiodbc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libiodbc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup active_variants 1.1
</span> github.setup openlink iODBC 3.52.12 v
#override name (keep it lowercase)
name libiodbc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts unixODBC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories devel
maintainers {snc @nerdling} openmaintainer
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,6 +26,12 @@ depends_build-append port:automake \
</span>
patchfiles-append patch-iodbcinst-unicode.h.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append --disable-libodbc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant libodbc description {install extra libodbc.so library} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-libodbc --enable-libodbc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant x11 {
depends_lib-append port:atk \
path:lib/pkgconfig/cairo.pc:cairo \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -54,7 +60,7 @@ variant x11 {
</span> configure.args-delete --disable-gui
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +x11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default_variants +x11 +libiodbc
</span>
pre-configure {
system -W ${worksrcpath} "sh ./autogen.sh"
</pre><pre style='margin:0'>
</pre>