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:
parent
c7a6642066
commit
04e57476e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86877
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user