pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/nodejs nodejs: Set correct destination CPU on pow...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c4cdc3f85e7c
branches: trunk
changeset: 454846:c4cdc3f85e7c
user: nia <nia%pkgsrc.org@localhost>
date: Wed Jun 23 08:20:20 2021 +0000
description:
nodejs: Set correct destination CPU on powerpc
diffstat:
lang/nodejs/Makefile.common | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 924f75e71c7d -r c4cdc3f85e7c lang/nodejs/Makefile.common
--- a/lang/nodejs/Makefile.common Tue Jun 22 21:24:15 2021 +0000
+++ b/lang/nodejs/Makefile.common Wed Jun 23 08:20:20 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.41 2020/12/16 07:43:13 adam Exp $
+# $NetBSD: Makefile.common,v 1.42 2021/06/23 08:20:20 nia Exp $
# used by lang/nodejs/Makefile
# used by lang/nodejs8/Makefile
# used by lang/nodejs10/Makefile
@@ -31,6 +31,10 @@
CONFIGURE_ENV.NetBSD+= GYP_DEFINES="OS=netbsd"
MAKE_ENV.NetBSD+= GYP_DEFINES="OS=netbsd"
+.if ${MACHINE_ARCH} == "powerpc"
+CONFIGURE_ARGS+= --dest-cpu=ppc
+.endif
+
.if ${OPSYS} == "Linux" && !exists(/usr/bin/gold)
CONFIGURE_ENV+= GYP_DEFINES="linux_use_gold_flags=0"
.endif
Home |
Main Index |
Thread Index |
Old Index