Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2019 18:20:45 +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: r519040 - head/math/blis
Message-ID:  <201912041820.xB4IKjjT099748@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Wed Dec  4 18:20:44 2019
New Revision: 519040
URL: https://svnweb.freebsd.org/changeset/ports/519040

Log:
  Refactor hardcoded string "llvm60" into LLVM_VER for future ease
  of maintainence.

Modified:
  head/math/blis/Makefile

Modified: head/math/blis/Makefile
==============================================================================
--- head/math/blis/Makefile	Wed Dec  4 18:04:55 2019	(r519039)
+++ head/math/blis/Makefile	Wed Dec  4 18:20:44 2019	(r519040)
@@ -11,8 +11,9 @@ COMMENT=	Software framework for high-performance BLAS-
 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>



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