mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Simplify the test for 64-bit architecture.
Since the test result is positive for 64-bit, switch the order of the --enable-XYZ-bit definitions, to avoid one more negative in the test. Approved by: portmgr (tier-2 blanket)
This commit is contained in:
parent
d89e773d86
commit
55ce63c066
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506467
@ -49,10 +49,10 @@ PLIST_SUB= DISTNAME=${SWIPLDIR} ARCH=${ARCH} OS=${OPSYS:tl} \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if (${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc)
|
||||
PLIST_SUB+= BITS=32
|
||||
.else
|
||||
.if ${ARCH:M*64*}
|
||||
PLIST_SUB+= BITS=64
|
||||
.else
|
||||
PLIST_SUB+= BITS=32
|
||||
.endif
|
||||
|
||||
.if (${ARCH} == amd64)
|
||||
|
Loading…
Reference in New Issue
Block a user