<pre style='margin:0'>
ci42 pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/dd890d27ac9b67e7dd1c0a01d50ed08462843b48">https://github.com/macports/macports-ports/commit/dd890d27ac9b67e7dd1c0a01d50ed08462843b48</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 dd890d2 nodejs6: use bundled openssl
</span>dd890d2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit dd890d27ac9b67e7dd1c0a01d50ed08462843b48
</span>Author: Chih-Hsuan Yen <yan12125@macports.org>
AuthorDate: Sat May 4 12:22:32 2019 +0800
<span style='display:block; white-space:pre;color:#404040;'> nodejs6: use bundled openssl
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This is a preparation step for OpenSSL 1.1 migration. Node.js 6 does not
</span><span style='display:block; white-space:pre;color:#404040;'> build with OpenSSL 1.1:
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> :info:build ../src/node_crypto.h:91:40: error: invalid application of 'sizeof' to an incomplete type 'SSL_CTX' (aka 'ssl_ctx_st')
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> I switched to bundled openssl instead of using the openssl10 port to
</span><span style='display:block; white-space:pre;color:#404040;'> lower the maintenance burden. nodejs6 is EOL'ed upstream and will be
</span><span style='display:block; white-space:pre;color:#404040;'> considered to be dropped once nodejs8 works on OS X 10.6, anyway.
</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/58224
</span>---
devel/nodejs6/Portfile | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nodejs6/Portfile b/devel/nodejs6/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cdd94e3..c5a7ba3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/nodejs6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/nodejs6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup compiler_blacklist_versions 1.0
</span>
name nodejs6
version 6.17.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
categories devel net
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,8 +34,7 @@ distname node-v${version}
</span> depends_build port:pkgconfig
depends_lib port:icu \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:python27 \
</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:python27
</span>
proc rec_glob {basedir pattern} {
set files [glob -directory $basedir -nocomplain -type f $pattern]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -78,9 +78,6 @@ if { ${os.platform} eq "darwin" && ${os.major} < 11 } {
</span>
configure.args-append --without-npm
configure.args-append --with-intl=system-icu
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append --shared-openssl
</span><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>
# V8 only supports ARM and IA-32 processors
supported_archs i386 x86_64
</pre><pre style='margin:0'>
</pre>