Index: branches/2016Q4/www/node/Makefile =================================================================== --- branches/2016Q4/www/node/Makefile (revision 424843) +++ branches/2016Q4/www/node/Makefile (revision 424844) @@ -1,109 +1,98 @@ # $FreeBSD$ PORTNAME= node -PORTVERSION= 6.7.0 +PORTVERSION= 6.9.1 DISTVERSIONPREFIX= v CATEGORIES= www MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ MAINTAINER= bradleythughes@fastmail.fm COMMENT= V8 JavaScript for client and server (6.x) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS OPTIONS_SUB= yes BUNDLED_SSL_DESC= Use node.js's bundled OpenSSL implementation BUNDLED_SSL_USES_OFF= ssl BUNDLED_SSL_CONFIGURE_OFF+= --shared-openssl NLS_CONFIGURE_ON= --with-intl=system-icu NLS_LIB_DEPENDS= libicui18n.so:devel/icu -USES= compiler execinfo gmake python:2,build pkgconfig localbase +USES= compiler:c++11-lib execinfo gmake python:2,build pkgconfig localbase HAS_CONFIGURE= yes USE_LDCONFIG= yes -CONFLICTS_INSTALL= node4-* node-0.[02-9][0-9]* node-devel-0.[0-9]* node010-[0-9]* node012-[0-9]* iojs-[0-9]* +CONFLICTS_INSTALL= node4-4.* node012-0.12.* node010-0.10.* node-devel-[0-9]* iojs-[0-9]* ONLY_FOR_ARCHS= i386 amd64 armv6 CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \ --without-npm \ --shared-cares \ --shared-libuv \ --shared-zlib PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} REINPLACE_ARGS= -i '' MAKE_ENV+= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX} LIB_DEPENDS+= libcares.so:dns/c-ares\ libuv.so:devel/libuv .include .if empty(PORT_OPTIONS:MBUNDLED_SSL) .if ${OSVERSION} < 1100085 # node.js requires openssl 1.0.2, use the port since base isn't new enough WITH_OPENSSL_PORT= yes .endif .endif .include .if empty(PORT_OPTIONS:MBUNDLED_SSL) .if !empty(SSL_DEFAULT:Mlibressl*) IGNORE= cannot build node.js with LibreSSL. You must enable BUNDLED_SSL .endif .endif .if ${ARCH} == "armv6" CONFIGURE_ARGS= --openssl-no-asm .endif -.if ${COMPILER_TYPE} == clang -MAKE_ENV+= LINK=clang++ -CFLAGS+= -Wno-unused-private-field -.if ${COMPILER_VERSION} >= 33 -CFLAGS+= -Wno-nested-anon-types -Wno-unused-function -.if ${COMPILER_VERSION} >= 34 -CFLAGS+= -Wno-unused-const-variable -.endif -.endif -.else -MAKE_ARGS+= strictaliasing=off -USE_GCC= yes +.if ${COMPILER_TYPE} == gcc # GCC does not expose std::snprintf() without this define CXXFLAGS+= -D_GLIBCXX_USE_C99 .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/deps/v8/tools/gyp/v8.gyp # So many different ways to run python. Fix them all. @${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKSRC}/configure @${FIND} ${WRKSRC} -type f -name '*.gyp*' -print0 \ | ${XARGS} -0 ${REINPLACE_CMD} \ -e "s|'python'|'${PYTHON_CMD}'|" \ -e 's| Index: branches/2016Q4/www/node/distinfo =================================================================== --- branches/2016Q4/www/node/distinfo (revision 424843) +++ branches/2016Q4/www/node/distinfo (revision 424844) @@ -1,3 +1,3 @@ -TIMESTAMP = 1475046238 -SHA256 (node-v6.7.0.tar.gz) = 02b8ee1719a11b9ab22bef9279519efaaf31dd0d39cba4c3a1176ccda400b8d6 -SIZE (node-v6.7.0.tar.gz) = 26431821 +TIMESTAMP = 1476953621 +SHA256 (node-v6.9.1.tar.gz) = a98997ca3a4d10751f0ebe97839b2308a31ae884b4203cda0c99cf36bc7fe3bf +SIZE (node-v6.9.1.tar.gz) = 26504341 Index: branches/2016Q4/www/node/files/patch-node.gyp =================================================================== --- branches/2016Q4/www/node/files/patch-node.gyp (nonexistent) +++ branches/2016Q4/www/node/files/patch-node.gyp (revision 424844) @@ -0,0 +1,11 @@ +--- node.gyp.orig 2016-10-12 21:30:37 UTC ++++ node.gyp +@@ -477,6 +477,8 @@ + }], + [ 'node_shared_zlib=="false"', { + 'dependencies': [ 'deps/zlib/zlib.gyp:zlib' ], ++ }, { ++ 'defines': [ 'ZLIB_CONST' ], + }], + + [ 'node_shared_http_parser=="false"', { Property changes on: branches/2016Q4/www/node/files/patch-node.gyp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2016Q4 =================================================================== --- branches/2016Q4 (revision 424843) +++ branches/2016Q4 (revision 424844) Property changes on: branches/2016Q4 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r423979,424843