pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Translate MACHINE_ARCH and LOWER_ARCH from ppc to p...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f2fe44997bf2
branches: trunk
changeset: 482087:f2fe44997bf2
user: ben <ben%pkgsrc.org@localhost>
date: Tue Oct 19 23:16:47 2004 +0000
description:
Translate MACHINE_ARCH and LOWER_ARCH from ppc to powerpc in the case of
Linux, to be more consistent with other platforms.
diffstat:
mk/bsd.prefs.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 4797a75d0c47 -r f2fe44997bf2 mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk Tue Oct 19 23:13:21 2004 +0000
+++ b/mk/bsd.prefs.mk Tue Oct 19 23:16:47 2004 +0000
@@ -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 @@
.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}
Home |
Main Index |
Thread Index |
Old Index