1
0
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:
Mark Linimon 2019-07-12 16:09:49 +00:00
parent d89e773d86
commit 55ce63c066
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506467

View File

@ -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)