diff options
author | ben <ben> | 2004-10-19 23:16:47 +0000 |
---|---|---|
committer | ben <ben> | 2004-10-19 23:16:47 +0000 |
commit | afc4a3bcbcb46fc7e945b6cbfdf3fd4c0cc327da (patch) | |
tree | a7e8eb93eb3db0723153fb79ca187b4fb009f7de /mk | |
parent | b31519e8153454f49e1604a2233b78f17ecfe9a7 (diff) | |
download | pkgsrc-afc4a3bcbcb46fc7e945b6cbfdf3fd4c0cc327da.tar.gz |
Translate MACHINE_ARCH and LOWER_ARCH from ppc to powerpc in the case of
Linux, to be more consistent with other platforms.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.prefs.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index 32eecf1fa78..790cdb98119 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -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} |