diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2019-07-12 16:09:49 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2019-07-12 16:09:49 +0000 |
commit | 55ce63c0665720ad4497229ae31f94aef59a0f81 (patch) | |
tree | 2ddb19be0cdd003063305ebf814338b1343c2afb /lang/swi-pl | |
parent | d89e773d866697edd23af212f494abfb156682ef (diff) | |
download | ports-55ce63c0665720ad4497229ae31f94aef59a0f81.tar.gz ports-55ce63c0665720ad4497229ae31f94aef59a0f81.zip |
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)
Notes
Notes:
svn path=/head/; revision=506467
Diffstat (limited to 'lang/swi-pl')
-rw-r--r-- | lang/swi-pl/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/swi-pl/Makefile b/lang/swi-pl/Makefile index 055b08f6cc6f..1a1b7b3a6b0c 100644 --- a/lang/swi-pl/Makefile +++ b/lang/swi-pl/Makefile @@ -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) |