Subject: Re: where are MACHINE_ARCH and LOWER_ARCH defined?
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 01/11/2003 16:35:55
On Sat, 11 Jan 2003, Julio Merino wrote:

> - In bsd.pkg.mk, check if it's [456]86 and replace its value with 386.

I did it in bsd.prefs.mk instead:

.elif ${OPSYS} == "Linux"
LOWER_OPSYS?=           linux
LOWER_ARCH!=            echo "${LOWER_ARCH}" | sed -e 's/i.86/i386/'
MACHINE_ARCH!=          echo "${MACHINE_ARCH}" | sed -e 's/i.86/i386/'

(Because I think it should work with old or different bmake also.)

   Jeremy C. Reed
   http://bsd.reedmedia.net/