Skip to content
Permalink
Browse files

ccls: Add clang compiler to depends_lib as required at runtime as wel…

…l as during build
  • Loading branch information
cjones051073 committed Apr 4, 2019
1 parent ef4b99b commit 1feefd0dc2981f4679b276aa5d53fe4b13e3c12d
Showing with 3 additions and 2 deletions.
  1. +3 −2 devel/ccls/Portfile
@@ -20,10 +20,11 @@ description C/C++/ObjC language server supporting cross referenc
long_description ${description}

foreach clang_v {7.0 8.0} {
subport ccls-clang-${clang_v} {
subport ccls-clang-${clang_v} {
compiler.whitelist macports-clang-${clang_v}
configure.args-append -DCMAKE_PREFIX_PATH=${prefix}/libexec/llvm-${clang_v}
}
depends_lib-append port:clang-${clang_v}
}
}

if {${subport} eq ${name}} {

0 comments on commit 1feefd0

Please sign in to comment.
You can’t perform that action at this time.