graphics/darktable: Use LLVM 4.0 at build time

We try to keep the same LLVM version as Mesa to avoid the need to have
several versions of LLVM.

Approved by:	bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D10403
This commit is contained in:
Jean-Sébastien Pédron
2017-04-15 13:47:55 +00:00
parent 6e3b73e796
commit beed199f29

View File

@@ -96,8 +96,8 @@ WEBP_CMAKE_OFF= -DUSE_WEBP:BOOL=OFF
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64 && ${CHOSEN_COMPILER_TYPE} == clang
# Enable OpenMP support with Clang 3.9.
LLVM_VER= 39
# Enable OpenMP support with Clang 4.0.
LLVM_VER= 40
BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER}
CPP= clang-cpp${LLVM_VER}