1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Since uname -m can now report any i[3456]86 values, change the script

to work with this.

Submitted by:	Andrew Thompson <andy@fud.org.nz>
This commit is contained in:
Martin Blapp 2003-08-13 09:29:47 +00:00
parent c7a6642066
commit 04e57476e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86877
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
# processor. We also assume that this is reported by uname -m
# "ix86" where x is some number.
- if uname -m | grep 86 2>&1 >/dev/null ;then
+ if uname -m | grep i386 2>&1 >/dev/null ;then
+ if uname -m | grep i[3456]86 2>&1 >/dev/null ;then
PLATFORM=linuxx86
DISP_PLATFORM="Linux (x86)"
elif uname -m | grep -i arm 2>&1 >/dev/null ;then

View File

@ -5,7 +5,7 @@
# processor. We also assume that this is reported by uname -m
# "ix86" where x is some number.
- if uname -m | grep 86 2>&1 >/dev/null ;then
+ if uname -m | grep i386 2>&1 >/dev/null ;then
+ if uname -m | grep i[3456]86 2>&1 >/dev/null ;then
PLATFORM=linuxx86
DISP_PLATFORM="Linux (x86)"
elif uname -m | grep -i arm 2>&1 >/dev/null ;then