Translate MACHINE_ARCH and LOWER_ARCH from ppc to powerpc in the case of

Linux, to be more consistent with other platforms.
This commit is contained in:
ben 2004-10-19 23:16:47 +00:00
parent 0179e13969
commit 056dbbb3f1

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.prefs.mk,v 1.173 2004/10/07 13:42:26 jlam Exp $
# $NetBSD: bsd.prefs.mk,v 1.174 2004/10/19 23:16:47 ben Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@ -118,8 +118,9 @@ LOWER_OPSYS_VERSUFFIX= 2
.elif ${OPSYS} == "Linux"
LOWER_OPSYS?= linux
MACHINE_ARCH:= ${MACHINE_ARCH:C/i.86/i386/}
MACHINE_ARCH:= ${MACHINE_ARCH:C/ppc/powerpc/}
. if !defined(LOWER_ARCH)
LOWER_ARCH!= ${UNAME} -m | sed -e 's/i.86/i386/'
LOWER_ARCH!= ${UNAME} -m | sed -e 's/i.86/i386/' -e 's/ppc/powerpc'
. endif # !defined(LOWER_ARCH)
. if ${MACHINE_ARCH} == "unknown" || ${MACHINE_ARCH} == ""
MACHINE_ARCH= ${LOWER_ARCH}