pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/nodejs



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jun 23 08:20:20 UTC 2021

Modified Files:
        pkgsrc/lang/nodejs: Makefile.common

Log Message:
nodejs: Set correct destination CPU on powerpc


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/lang/nodejs/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/nodejs/Makefile.common
diff -u pkgsrc/lang/nodejs/Makefile.common:1.41 pkgsrc/lang/nodejs/Makefile.common:1.42
--- pkgsrc/lang/nodejs/Makefile.common:1.41     Wed Dec 16 07:43:13 2020
+++ pkgsrc/lang/nodejs/Makefile.common  Wed Jun 23 08:20:20 2021
@@ -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 @@ PTHREAD_AUTO_VARS=   yes
 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