aboutsummaryrefslogtreecommitdiff
path: root/devel/ice
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2019-07-13 21:33:52 +0000
committerMark Linimon <linimon@FreeBSD.org>2019-07-13 21:33:52 +0000
commit784fcf303d8f0c8d760af6182b5078abe1867c37 (patch)
tree9fcbbc3cf5786ad0edebb5107f77f06950fe13d9 /devel/ice
parent9bb3de686beea218359d08ff5fa3e4778f816c12 (diff)
downloadports-784fcf303d8f0c8d760af6182b5078abe1867c37.tar.gz
ports-784fcf303d8f0c8d760af6182b5078abe1867c37.zip
Simplify architecture tests for 64-bit. Listing each ARCH is fragile; e.g.,
misses some 64-bit mips variants. Tested on: amd64, powerpc64, armv7. Approved by: portmgr (tier-2 blanket)
Notes
Notes: svn path=/head/; revision=506580
Diffstat (limited to 'devel/ice')
-rw-r--r--devel/ice/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/ice/Makefile b/devel/ice/Makefile
index ba05cf349389..25ab0ed8b5ae 100644
--- a/devel/ice/Makefile
+++ b/devel/ice/Makefile
@@ -52,7 +52,8 @@ CFLAGS+= -ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT -I${LOCALBASE}/inc
CFLAGS+= -DNDEBUG
.endif
-.if ((${ARCH} != i386) && (${ARCH} != powerpc))
+# determine if we are on a 64-bit arch
+.if ${ARCH:M*64*}
MAKE_ENV+= LP64=yes
.endif