<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7189b7b53508bdead011144bf3808d19bb3eb72c">https://github.com/macports/macports-ports/commit/7189b7b53508bdead011144bf3808d19bb3eb72c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7189b7b53508bdead011144bf3808d19bb3eb72c
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Fri Mar 23 00:16:04 2018 +0100
<span style='display:block; white-space:pre;color:#404040;'> libvirt: Add +gnutls and +openssl variants
</span>---
sysutils/libvirt/Portfile | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/libvirt/Portfile b/sysutils/libvirt/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 50e576d..5d9c781 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/libvirt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/libvirt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,7 +58,7 @@ configure.args --disable-silent-rules \
</span> --with-esx \
--without-fuse \
--without-glusterfs \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-gnutls \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-gnutls \
</span> --without-hal \
--without-hyperv \
--with-init-script=none \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -99,6 +99,20 @@ configure.args --disable-silent-rules \
</span> --with-xml-catalog-file=${prefix}/etc/xml/catalog \
--with-yajl
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset openssl]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +gnutls
</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 gnutls description {Use GnuTLS} conflicts openssl {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:gnutls
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --without-gnutls --with-gnutls
</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 openssl description {Use OpenSSL} conflicts gnutls {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append path:lib/libssl.dylib:openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --without-openssl --with-openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant avahi description {Use Avahi to advertise remote daemon} {
depends_lib-append port:avahi
configure.args-replace --without-avahi --with-avahi
</pre><pre style='margin:0'>
</pre>