diff options
author | ben <ben@pkgsrc.org> | 2004-10-19 23:16:47 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2004-10-19 23:16:47 +0000 |
commit | 056dbbb3f1c12f6fd93254fbdec87bf4668903b6 (patch) | |
tree | a7e8eb93eb3db0723153fb79ca187b4fb009f7de | |
parent | 0179e13969719a535bfece84f8d0dbb095a2d2f1 (diff) | |
download | pkgsrc-056dbbb3f1c12f6fd93254fbdec87bf4668903b6.tar.gz |
Translate MACHINE_ARCH and LOWER_ARCH from ppc to powerpc in the case of
Linux, to be more consistent with other platforms.
-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} |