diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2019-07-12 15:41:37 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2019-07-12 15:41:37 +0000 |
commit | 46032573634c4abb224b81921d1dec4efc5d4827 (patch) | |
tree | 31aab455360013c3428de91118147698771e8421 /math/metis | |
parent | 37904ce32a86a56891e2b729f78c288f112b86f2 (diff) | |
download | ports-46032573634c4abb224b81921d1dec4efc5d4827.tar.gz ports-46032573634c4abb224b81921d1dec4efc5d4827.zip |
Simplify architecture tests for 64-bit. Listing each ARCH is fragile; e.g.,
misses some 64-bit mips variants.
While here, further collapse tests for multiple variants of arm, mips, powerpc.
Approved by: portmgr (tier-2 blanket)
Notes
Notes:
svn path=/head/; revision=506464
Diffstat (limited to 'math/metis')
-rw-r--r-- | math/metis/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/metis/Makefile b/math/metis/Makefile index b019fdb37c21..f1ec33acc3dd 100644 --- a/math/metis/Makefile +++ b/math/metis/Makefile @@ -67,7 +67,7 @@ pre-configure: ${WRKSRC}/GKlib/GKlibSystem.cmake @${REINPLACE_CMD} -e "\|/home/karypis/|d" \ ${WRKSRC}/programs/CMakeLists.txt -.if ((${ARCH}=="amd64") || (${ARCH}=="aarch64") || (${ARCH}=="sparc64") || (${ARCH}=="powerpc64")) +.if ${ARCH:M*64*} @${REINPLACE_CMD}-e \ 's|IDXTYPEWIDTH 32|IDXTYPEWIDTH 64|' \ ${WRKSRC}/include/metis.h |