<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c05ab53a87b9c0d1daca3c7b82dd234794bfde08">https://github.com/macports/macports-ports/commit/c05ab53a87b9c0d1daca3c7b82dd234794bfde08</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c05ab53a87b9c0d1daca3c7b82dd234794bfde08
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Tue Nov 9 13:50:24 2021 +0000
<span style='display:block; white-space:pre;color:#404040;'> nodejs12: Use openssl PG, peg version to 1.1
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/63867
</span>---
devel/nodejs12/Portfile | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nodejs12/Portfile b/devel/nodejs12/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bc05656f58a..9ddd9c64113 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/nodejs12/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/nodejs12/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,6 +3,11 @@
</span> PortSystem 1.0
PortGroup compiler_blacklist_versions 1.0
PortGroup legacysupport 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup openssl 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Peg back to openssl 1.1 release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+openssl.branch 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+openssl.configure pkgconfig build_flags
</span>
# on macOS nodejs only builds against libc++
# this force is OK as node does not link against any other c++ libs
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,7 +17,7 @@ compiler.cxx_standard 2014
</span>
name nodejs12
version 12.22.7
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span>
categories devel net
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,8 +46,7 @@ distname node-v${version}
</span> depends_build-append port:pkgconfig
depends_lib-append port:icu \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:python38 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/libssl.dylib:openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python38
</span>
use_xcode yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -81,8 +85,8 @@ if { ${os.platform} eq "darwin" && ${os.major} < 11 } {
</span> configure.args-append --without-npm
configure.args-append --with-intl=system-icu
configure.args-append --shared-openssl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append --shared-openssl-includes=${prefix}/include/openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append --shared-openssl-libpath=${prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append --shared-openssl-includes=[openssl::include_dir]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append --shared-openssl-libpath=[openssl::lib_dir]
</span>
# V8 only supports ARM and IA-32 processors
supported_archs i386 x86_64 arm64
</pre><pre style='margin:0'>
</pre>