aboutsummaryrefslogtreecommitdiffstats
path: root/math/blis
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2019-12-05 02:20:44 +0800
committerMark Linimon <linimon@FreeBSD.org>2019-12-05 02:20:44 +0800
commit8d1a3fa4225fd2febb4ec91beaafccc6d7f5527c (patch)
tree68d2eeec36f869109ce4f1244570e6093b32169b /math/blis
parentf235b18c0bea2bd6accb846135d2cc32a01545ee (diff)
downloadfreebsd-ports-gnome-8d1a3fa4225fd2febb4ec91beaafccc6d7f5527c.tar.gz
freebsd-ports-gnome-8d1a3fa4225fd2febb4ec91beaafccc6d7f5527c.tar.zst
freebsd-ports-gnome-8d1a3fa4225fd2febb4ec91beaafccc6d7f5527c.zip
Refactor hardcoded string "llvm60" into LLVM_VER for future ease
of maintainence.
Diffstat (limited to 'math/blis')
-rw-r--r--math/blis/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/math/blis/Makefile b/math/blis/Makefile
index bc5f314106c8..32f370035a64 100644
--- a/math/blis/Makefile
+++ b/math/blis/Makefile
@@ -11,8 +11,9 @@ COMMENT= Software framework for high-performance BLAS-like libraries
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+LLVM_VER= 60
BUILD_DEPENDS= bash:shells/bash \
- llvm60>=0:devel/llvm60
+ llvm${LLVM_VER}>=0:devel/llvm${LLVM_VER}
OPTIONS_DEFINE= PARA CBLAS
PARA_DESC= use pthread parallelization
@@ -56,7 +57,7 @@ CONFIGURE_ARGS+= generic
PLIST_SUB+= ARCH="generic"
.endif
-CC= ${LOCALBASE}/bin/clang60
-CXX= ${LOCALBASE}/bin/clang++60
+CC= ${LOCALBASE}/bin/clang${LLVM_VER}
+CXX= ${LOCALBASE}/bin/clang++${LLVM_VER}
.include <bsd.port.mk>