Date: Mon, 8 Apr 2019 00:37:46 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r498336 - head/devel/ccls Message-ID: <201904080037.x380bka6091795@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Mon Apr 8 00:37:46 2019 New Revision: 498336 URL: https://svnweb.freebsd.org/changeset/ports/498336 Log: devel/ccls: Fix build with multiple llvm* packages installed Apparently it is possible for the build to pick multiple LLVM versions if LLVM_DIR is not explicitly set similar to Clang_DIR. $ grep llvm $(make -V CONFIGURE_WRKSRC)/CMakeCache.txt Clang_DIR:PATH=/usr/local/llvm80/lib/cmake/clang LLVM_DIR:PATH=/usr/local/llvm50/lib/cmake/llvm PR: 237089 Submitted by: fullermd@over-yonder.net Modified: head/devel/ccls/Makefile Modified: head/devel/ccls/Makefile ============================================================================== --- head/devel/ccls/Makefile Mon Apr 8 00:34:41 2019 (r498335) +++ head/devel/ccls/Makefile Mon Apr 8 00:37:46 2019 (r498336) @@ -21,7 +21,8 @@ GH_ACCOUNT= MaskRay # Commit matching 0.20190314 #GH_TAGNAME= 1976fec59559b7d2a88b5dcd7631e089eaa194fc -CMAKE_ARGS= -DClang_DIR:PATH="${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/clang" +CMAKE_ARGS= -DClang_DIR:PATH="${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/clang" \ + -DLLVM_DIR:PATH="${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/llvm" CXXFLAGS+= -DNDEBUG PLIST_FILES= bin/ccls
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904080037.x380bka6091795>