Index: www/node/Makefile =================================================================== --- www/node/Makefile +++ www/node/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= node -PORTVERSION= 8.2.1 +PORTVERSION= 8.3.0 DISTVERSIONPREFIX= v CATEGORIES= www MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ @@ -26,7 +26,7 @@ OPTIONS_EXCLUDE_FreeBSD_10= DTRACE OPTIONS_EXCLUDE_aarch64= DTRACE -BUNDLED_SSL_DESC= Use node.js's bundled OpenSSL implementation +BUNDLED_SSL_DESC= Use node.js's bundled OpenSSL implementation #' BUNDLED_SSL_USES_OFF= ssl BUNDLED_SSL_CONFIGURE_OFF= --shared-openssl --openssl-use-def-ca-store BUNDLED_SSL_RUN_DEPENDS_OFF= ca_root_nss>=0:security/ca_root_nss @@ -84,18 +84,6 @@ CXXFLAGS+= -D_GLIBCXX_USE_C99 .endif -.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 40 -# Conditinal work around for a bug in libc++ included with clang 3.x: -# https://bugs.llvm.org/show_bug.cgi?id=18249 -# https://bugs.llvm.org/show_bug.cgi?id=18350 -# https://bugs.llvm.org/show_bug.cgi?id=18853 -# -# Upstream Node.js adds the define to all FreeBSD builds. This breaks -# the build with clang 4.0, so we patch it out (files/patch-common.gypi) -# and add it here instead. -CXXFLAGS+= -D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR -.endif - .if ${PORT_OPTIONS:MDTRACE} CONFIGURE_ARGS+= --with-dtrace .endif Index: www/node/distinfo =================================================================== --- www/node/distinfo +++ www/node/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1500933063 -SHA256 (node-v8.2.1.tar.gz) = 66fe1379bc7daf9a16c6b5c45ab695bf1cdcfae9738d2989e940104d6b31973f -SIZE (node-v8.2.1.tar.gz) = 30334692 +TIMESTAMP = 1502335053 +SHA256 (node-v8.3.0.tar.gz) = 33fa7a02f265636c240be9ebd0f93942f77856a9c2c751592da1a0962b6ed010 +SIZE (node-v8.3.0.tar.gz) = 30588563 Index: www/node/files/patch-common.gypi =================================================================== --- www/node/files/patch-common.gypi +++ /dev/null @@ -1,12 +0,0 @@ ---- common.gypi.orig 2017-06-28 05:52:55 UTC -+++ common.gypi -@@ -407,9 +407,6 @@ - 'libraries': [ '-lelf' ], - }], - ['OS=="freebsd"', { -- # Use this flag because on FreeBSD std::pairs copy constructor is non-trivial -- # https://lists.freebsd.org/pipermail/freebsd-toolchain/2016-March/002094.html -- 'cflags': [ '-D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1' ], - 'ldflags': [ - '-Wl,--export-dynamic', - ], Index: www/node/pkg-plist =================================================================== --- www/node/pkg-plist +++ www/node/pkg-plist @@ -10,6 +10,7 @@ include/node/node_buffer.h include/node/node_object_wrap.h include/node/node_version.h +include/node/v8-value-serializer-version.h %%BUNDLED_SSL%%include/node/openssl/aes.h %%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/opensslconf.h %%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/opensslconf.h