aboutsummaryrefslogtreecommitdiff
path: root/lang/clover/Makefile
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2019-06-30 14:56:12 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2019-06-30 14:56:12 +0000
commit6db0d126a41154e6f341a90c0d7edfd30c4ec862 (patch)
tree5dbf095631f33d3681e0665b4bece07319143b54 /lang/clover/Makefile
parentb66098f32b1c8a6bf31deee56334a631a3048f5d (diff)
downloadports-6db0d126a41154e6f341a90c0d7edfd30c4ec862.tar.gz
ports-6db0d126a41154e6f341a90c0d7edfd30c4ec862.zip
Notes
Diffstat (limited to 'lang/clover/Makefile')
-rw-r--r--lang/clover/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/clover/Makefile b/lang/clover/Makefile
index 8ad320fed62e..744e6f2916b4 100644
--- a/lang/clover/Makefile
+++ b/lang/clover/Makefile
@@ -2,7 +2,7 @@
PORTNAME= clover
PORTVERSION= ${MESAVERSION}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang
COMMENT= Mesa "Clover" OpenCL library
@@ -31,9 +31,9 @@ MESA_INSTALL_WRKSRC= src/gallium/targets/opencl src/gallium/targets/pipe-loader
.include "${MASTERDIR}/Makefile.targets"
pre-configure:
- @if [ -e ${LOCALBASE}/bin/llvm-config${MESA_LLVM_VER} ] && \
- ! [ -e ${LOCALBASE}/bin/clang${MESA_LLVM_VER} ]; then \
- ${ECHO_MSG} "Your llvm${MESA_LLVM_VER} is not built with clang support, which is required."; \
+ @if [ -e ${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT} ] && \
+ ! [ -e ${LOCALBASE}/bin/clang${LLVM_DEFAULT} ]; then \
+ ${ECHO_MSG} "Your llvm${LLVM_DEFAULT} is not built with clang support, which is required."; \
${FALSE}; \
fi