1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Now that llvm 3.7 is gone, use llvm40 if the clang compiler is lower than 3.7

mongodb requires clang >= 3.7 to build if the compiler is clang

Reported by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
This commit is contained in:
Baptiste Daroussin 2017-04-01 15:28:34 +00:00
parent d56203018b
commit 03623c96dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=437441

View File

@ -57,10 +57,10 @@ TEST_TARGET= unittests
# - https://jira.mongodb.org/browse/SERVER-21217
# - https://jira.mongodb.org/browse/SERVER-22740
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 37
BUILD_DEPENDS+= ${LOCALBASE}/bin/clang37:lang/clang37
CPP= ${LOCALBASE}/bin/clang-cpp37
CC= ${LOCALBASE}/bin/clang37
CXX= ${LOCALBASE}/bin/clang++37
BUILD_DEPENDS+= ${LOCALBASE}/bin/clang40:devel/llvm40
CPP= ${LOCALBASE}/bin/clang-cpp40
CC= ${LOCALBASE}/bin/clang40
CXX= ${LOCALBASE}/bin/clang++40
.endif
post-install: