svn commit: r444704 - in head/www/node: . files
Andrew Turner
andrew at FreeBSD.org
Fri Jun 30 09:19:56 UTC 2017
Author: andrew (src committer)
Date: Fri Jun 30 09:19:55 2017
New Revision: 444704
URL: https://svnweb.freebsd.org/changeset/ports/444704
Log:
www/node: Build on arm64
DTrace fails to build, however there is no userspace DTrace support on
arm64 for it to use.
PR: 220282
Approved by: bhughes (maintainer), matthew
Added:
head/www/node/files/patch-deps_v8_src_base_cpu.cc (contents, props changed)
Modified:
head/www/node/Makefile
Modified: head/www/node/Makefile
==============================================================================
--- head/www/node/Makefile Fri Jun 30 09:00:14 2017 (r444703)
+++ head/www/node/Makefile Fri Jun 30 09:19:55 2017 (r444704)
@@ -24,6 +24,7 @@ OPTIONS_EXCLUDE+= DTRACE
.endif
OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
+OPTIONS_EXCLUDE_aarch64= DTRACE
BUNDLED_SSL_DESC= Use node.js's bundled OpenSSL implementation
BUNDLED_SSL_USES_OFF= ssl
@@ -41,7 +42,7 @@ USE_LDCONFIG= yes
CONFLICTS_INSTALL= node[456]-[0-9]* node01[02]-[0-9]* node-devel-[0-9]* iojs-[0-9]*
-ONLY_FOR_ARCHS= amd64 armv6 i386
+ONLY_FOR_ARCHS= aarch64 amd64 armv6 i386
CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \
--without-npm \
Added: head/www/node/files/patch-deps_v8_src_base_cpu.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/node/files/patch-deps_v8_src_base_cpu.cc Fri Jun 30 09:19:55 2017 (r444704)
@@ -0,0 +1,19 @@
+--- deps/v8/src/base/cpu.cc.orig 2017-06-19 14:24:53.928317000 +0000
++++ deps/v8/src/base/cpu.cc 2017-06-19 14:24:57.294664000 +0000
+@@ -601,6 +601,7 @@
+
+ #elif V8_HOST_ARCH_ARM64
+
++#if V8_OS_LINUX
+ CPUInfo cpu_info;
+
+ // Extract implementor from the "CPU implementer" field.
+@@ -634,6 +635,8 @@
+ }
+ delete[] part;
+ }
++
++#endif // V8_OS_LINUX
+
+ #elif V8_HOST_ARCH_PPC
+
More information about the svn-ports-head
mailing list