svn commit: r495723 - branches/2019Q1/www/node

Mark Felder feld at FreeBSD.org
Thu Mar 14 17:28:13 UTC 2019


Author: feld
Date: Thu Mar 14 17:28:11 2019
New Revision: 495723
URL: https://svnweb.freebsd.org/changeset/ports/495723

Log:
  MFH: r494851 r495525
  
  www/node: Update 11.10.1 -> 11.11.0
  
  https://nodejs.org/en/blog/release/v11.11.0/
  
  Sponsored by:	Miles AS
  
  www/node: set environment variables for host build
  
  The Node.js build system supports cross-compilation via node-gyp, which
  picks up CC, CXX, LINK, C*FLAGS, and LDFLAGS from the environment for the
  target build, but not for the host. We need to set the environment variables
  for the "host" build.
  
  This unbreaks the build on powerpc64.
  
  PR:		233650
  Reported by:	Piotr Kubaj <pkubaj at anongoth.pl>
  Sponsored by:	Miles AS
  Differential Revision:	https://reviews.freebsd.org/D19250

Modified:
  branches/2019Q1/www/node/Makefile
  branches/2019Q1/www/node/distinfo
Directory Properties:
  branches/2019Q1/   (props changed)

Modified: branches/2019Q1/www/node/Makefile
==============================================================================
--- branches/2019Q1/www/node/Makefile	Thu Mar 14 16:33:28 2019	(r495722)
+++ branches/2019Q1/www/node/Makefile	Thu Mar 14 17:28:11 2019	(r495723)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	node
-PORTVERSION=	11.10.1
+PORTVERSION=	11.11.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
 MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
@@ -12,7 +12,6 @@ COMMENT=	V8 JavaScript for client and server
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_powerpc64=	fails to build: KeyError: 'action'
 ONLY_FOR_ARCHS=		aarch64 amd64 armv6 armv7 i386 powerpc64
 
 OPTIONS_DEFINE=		BUNDLED_SSL DOCS NLS DTRACE
@@ -27,6 +26,7 @@ OPTIONS_EXCLUDE_aarch64=	DTRACE
 # dt_modtext:/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(820): arm not implemented
 OPTIONS_EXCLUDE_armv6=		DTRACE
 OPTIONS_EXCLUDE_armv7=		DTRACE
+OPTIONS_EXCLUDE_powerpc64=	DTRACE
 
 BUNDLED_SSL_DESC=		Use node.js's bundled OpenSSL implementation
 BUNDLED_SSL_USES_OFF=		ssl
@@ -56,7 +56,9 @@ SHEBANG_FILES=	tools/specialize_node_d.py tools/genv8c
 
 PREFIX_RELDEST=	${PREFIX:S,^${DESTDIR},,}
 REINPLACE_ARGS=	-i ''
-MAKE_ENV+=	CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
+MAKE_ENV+=	CC.host=${CC} CFLAGS.host="${CFLAGS}" \
+		CXX.host=${CXX} CXXFLAGS.host="${CXXFLAGS}" \
+		LINK.host=${CXX} LDFLAGS.host="${LDFLAGS}"
 
 LIB_DEPENDS+=	libcares.so:dns/c-ares\
 		libuv.so:devel/libuv \

Modified: branches/2019Q1/www/node/distinfo
==============================================================================
--- branches/2019Q1/www/node/distinfo	Thu Mar 14 16:33:28 2019	(r495722)
+++ branches/2019Q1/www/node/distinfo	Thu Mar 14 17:28:11 2019	(r495723)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1551466872
-SHA256 (node-v11.10.1.tar.gz) = 1652c919cb56e264fb7e0b00c4d038766af943ed3db94865cbeb01360175777b
-SIZE (node-v11.10.1.tar.gz) = 48531748
+TIMESTAMP = 1551902292
+SHA256 (node-v11.11.0.tar.gz) = 8cbf2c62359901a5587fcc6699200495490751ce6fb31255c788ac6eb90a1107
+SIZE (node-v11.11.0.tar.gz) = 48581986


More information about the svn-ports-all mailing list