svn commit: r506467 - head/lang/swi-pl
Mark Linimon
linimon at FreeBSD.org
Fri Jul 12 16:09:50 UTC 2019
Author: linimon
Date: Fri Jul 12 16:09:49 2019
New Revision: 506467
URL: https://svnweb.freebsd.org/changeset/ports/506467
Log:
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)
Modified:
head/lang/swi-pl/Makefile
Modified: head/lang/swi-pl/Makefile
==============================================================================
--- head/lang/swi-pl/Makefile Fri Jul 12 16:07:44 2019 (r506466)
+++ head/lang/swi-pl/Makefile Fri Jul 12 16:09:49 2019 (r506467)
@@ -49,10 +49,10 @@ PLIST_SUB= DISTNAME=${SWIPLDIR} ARCH=${ARCH} OS=${OPSY
.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)
More information about the svn-ports-all
mailing list