Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 2020 13:03:09 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553903 - head/www/node
Message-ID:  <202011021303.0A2D39Fq086167@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon Nov  2 13:03:09 2020
New Revision: 553903
URL: https://svnweb.freebsd.org/changeset/ports/553903

Log:
  www/node: fix build on powerpc64le
  
  Building with DTRACE causes crash. -mminimal-toc is valid only on powerpc64 elfv1.

Modified:
  head/www/node/Makefile

Modified: head/www/node/Makefile
==============================================================================
--- head/www/node/Makefile	Mon Nov  2 12:58:02 2020	(r553902)
+++ head/www/node/Makefile	Mon Nov  2 13:03:09 2020	(r553903)
@@ -31,6 +31,7 @@ OPTIONS_EXCLUDE_aarch64=	DTRACE
 OPTIONS_EXCLUDE_armv6=		DTRACE
 OPTIONS_EXCLUDE_armv7=		DTRACE
 OPTIONS_EXCLUDE_powerpc64=	DTRACE
+OPTIONS_EXCLUDE_powerpc64le=	DTRACE
 
 BUNDLED_SSL_DESC=		Use node.js's bundled OpenSSL implementation
 BUNDLED_SSL_USES_OFF=		ssl
@@ -78,7 +79,7 @@ LIB_DEPENDS+=	libbrotlidec.so:archivers/brotli \
 
 .include <bsd.port.options.mk>
 
-.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
+.if (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) || ${ARCH} == powerpc64le
 EXTRA_PATCHES=		${PATCHDIR}/extra-patch-common.gypi
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011021303.0A2D39Fq086167>