<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/df458c5f854dab2df7c29d23b76592447dbb343f">https://github.com/macports/macports-ports/commit/df458c5f854dab2df7c29d23b76592447dbb343f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit df458c5f854dab2df7c29d23b76592447dbb343f
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Fri Jun 2 05:35:57 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> nng: enable libmbedtls
</span>---
devel/nng/Portfile | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nng/Portfile b/devel/nng/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 67ff225e07d..195ac2ea059 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/nng/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/nng/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,9 +3,13 @@
</span> PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup legacysupport 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Not strictly necessary, but seems to improve tests performance marginally.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+legacysupport.newest_darwin_requires_legacy 10
</span>
github.setup nanomsg nng 1.5.2 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> license MIT
categories devel
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,6 +21,8 @@ checksums rmd160 1a45ce54ac8dfcc75c26b42fb39fa867947ec09b \
</span> size 713203
cmake.generator Ninja
<span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:mbedtls3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # https://github.com/nanomsg/nng/issues/1647
patchfiles patch-tests.diff \
patch-posix_resolv_gai.diff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,7 +35,7 @@ if {[string match *gcc-4.* ${configure.compiler}]} {
</span> configure.args-append \
-DBUILD_SHARED_LIBS=OFF \
-DNNG_ENABLE_COVERAGE=OFF \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DNNG_ENABLE_TLS=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNNG_ENABLE_TLS=ON \
</span> -DNNG_TESTS=ON
compiler.c_standard 1999
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,7 +51,7 @@ variant dylib description "Build dynamic library" {
</span> -DBUILD_SHARED_LIBS=OFF -DBUILD_SHARED_LIBS=ON
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# There are a few failures on PPC: https://github.com/nanomsg/nng/issues/1648
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# FIXME: There are a few failures on PPC: https://github.com/nanomsg/nng/issues/1648
</span> variant tests description "Enable testing" {
if {[variant_isset dylib]} {
configure.pre_args-replace \
</pre><pre style='margin:0'>
</pre>