aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2019-07-13 00:09:49 +0800
committerlinimon <linimon@FreeBSD.org>2019-07-13 00:09:49 +0800
commitbe3bd23cce9bd1871953c1964dfd92c0cceb214d (patch)
tree2ddb19be0cdd003063305ebf814338b1343c2afb /lang
parentb509db873664c4a6b75a4a2d894d06a85bb690f1 (diff)
downloadfreebsd-ports-gnome-be3bd23cce9bd1871953c1964dfd92c0cceb214d.tar.gz
freebsd-ports-gnome-be3bd23cce9bd1871953c1964dfd92c0cceb214d.tar.zst
freebsd-ports-gnome-be3bd23cce9bd1871953c1964dfd92c0cceb214d.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)
Diffstat (limited to 'lang')
-rw-r--r--lang/swi-pl/Makefile6
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)