pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Shorten the GNU_ARCH list by using a fallthrough va...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c11242885743
branches:  trunk
changeset: 502016:c11242885743
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Nov 01 16:11:16 2005 +0000

description:
Shorten the GNU_ARCH list by using a fallthrough variable expression
for MACHINE_GNU_ARCH.

diffstat:

 mk/bsd.prefs.mk |  18 ++++--------------
 1 files changed, 4 insertions(+), 14 deletions(-)

diffs (41 lines):

diff -r 2b4831be9694 -r c11242885743 mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk   Tue Nov 01 16:01:16 2005 +0000
+++ b/mk/bsd.prefs.mk   Tue Nov 01 16:11:16 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.200 2005/08/16 19:55:38 dillo Exp $
+# $NetBSD: bsd.prefs.mk,v 1.201 2005/11/01 16:11:16 tv Exp $
 #
 # Make file, included to get the site preferences, if any.  Should
 # only be included by package Makefiles before any .if defined()
@@ -62,28 +62,18 @@
 .endif
 MAKEFLAGS+=            OS_VERSION=${OS_VERSION}
 
-# Preload these for architectures not in all variations of bsd.own.mk.
-GNU_ARCH.alpha?=       alpha
+# Preload these for architectures not in all variations of bsd.own.mk,
+# which do not match their GNU names exactly.
 GNU_ARCH.arm26?=       arm
 GNU_ARCH.arm32?=       arm
-GNU_ARCH.i386?=                i386
 GNU_ARCH.i486?=                i386
 GNU_ARCH.i586?=                i386
 GNU_ARCH.i686?=                i386
 GNU_ARCH.m68000?=      m68010
-GNU_ARCH.m68k?=                m68k
 GNU_ARCH.mips?=                mipsel
-GNU_ARCH.mipseb?=      mipseb
-GNU_ARCH.mipsel?=      mipsel
-GNU_ARCH.ns32k?=       ns32k
-GNU_ARCH.powerpc?=     powerpc
-GNU_ARCH.rs6000?=      rs6000
 GNU_ARCH.sh3eb?=       sh
 GNU_ARCH.sh3el?=       shle
-GNU_ARCH.sparc?=       sparc
-GNU_ARCH.sparc64?=     sparc64
-GNU_ARCH.vax?=         vax
-MACHINE_GNU_ARCH?=     ${GNU_ARCH.${MACHINE_ARCH}}
+MACHINE_GNU_ARCH?=     ${GNU_ARCH.${MACHINE_ARCH}:U${MACHINE_ARCH}}
 
 .if ${OPSYS} == "NetBSD"
 LOWER_OPSYS?=          netbsd



Home | Main Index | Thread Index | Old Index