1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

Refactor hardcoded string "llvm60" into LLVM_VER for future ease

of maintainence.
This commit is contained in:
Mark Linimon 2019-12-04 18:20:44 +00:00
parent f235b18c0b
commit 8d1a3fa422
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519040

View File

@ -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>