<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/34fd845ab2a71210d947419d2c0b5958b862af18">https://github.com/macports/macports-ports/commit/34fd845ab2a71210d947419d2c0b5958b862af18</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 34fd845ab2a zmq: Fix build failure with +nss variant
</span>34fd845ab2a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 34fd845ab2a71210d947419d2c0b5958b862af18
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Feb 22 02:18:04 2023 -0600
<span style='display:block; white-space:pre;color:#404040;'> zmq: Fix build failure with +nss variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/66809
</span>---
devel/zmq/Portfile | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/zmq/Portfile b/devel/zmq/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ce194d1ae97..fcf755c706c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/zmq/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/zmq/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -158,14 +158,17 @@ if {${subport} eq "zmq" || ${subport} eq "zmq-devel"} {
</span> -DWITH_TLS=OFF -DWITH_TLS=ON
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # This one may fail: https://trac.macports.org/ticket/66809
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Do not make a default.
</span> variant nss description "Use NSS instead of builtin sha1" {
depends_lib-append port:nss
configure.args-replace \
-DWITH_NSS=OFF -DWITH_NSS=ON
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cxxflags-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -I${prefix}/include/nss
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # We should not need to do this manually but there
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # is a deficiency in the zmq build system.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/zeromq/libzmq/issues/4517
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append [exec ${prefix}/bin/pkg-config nss --cflags]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ldflags-append [exec ${prefix}/bin/pkg-config nss --libs-only-L]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
variant sodium description "Use libsodium instead of built-in tweetnacl" {
</pre><pre style='margin:0'>
</pre>