Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2019 15:38:46 +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: r506462 - head/devel/judy
Message-ID:  <201907121538.x6CFckfM043842@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Fri Jul 12 15:38:46 2019
New Revision: 506462
URL: https://svnweb.freebsd.org/changeset/ports/506462

Log:
  Simplify the test for 64-bit.
  
  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.

Modified:
  head/devel/judy/Makefile

Modified: head/devel/judy/Makefile
==============================================================================
--- head/devel/judy/Makefile	Fri Jul 12 15:08:03 2019	(r506461)
+++ head/devel/judy/Makefile	Fri Jul 12 15:38:46 2019	(r506462)
@@ -29,10 +29,10 @@ OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == mips || ${ARCH} == powerpc
-CONFIGURE_ARGS+=	--enable-32-bit
-.else
+.if ${ARCH:M*64*}
 CONFIGURE_ARGS+=	--enable-64-bit
+.else
+CONFIGURE_ARGS+=	--enable-32-bit
 .endif
 
 post-install:



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