Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2019 16:09:49 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r506467 - head/lang/swi-pl
Message-ID:  <201907121609.x6CG9ne3059926@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907121609.x6CG9ne3059926>