Skip to content
Permalink
Browse files

ccls: Avoid binary name conflicts between builds for different clang …

…versions
  • Loading branch information
cjones051073 committed Apr 4, 2019
1 parent e12ea9b commit 0c9cc20cad4b0a1762f5b68206d29673be18c8fe
Showing with 5 additions and 1 deletion.
  1. +5 −1 devel/ccls/Portfile
@@ -8,7 +8,7 @@ PortGroup compiler_blacklist_versions 1.0

name ccls
github.setup MaskRay ccls 0.20190314
revision 0
revision 1
categories devel
platforms darwin
license Apache-2
@@ -45,4 +45,8 @@ if {${subport} eq ${name}} {
post-fetch {
system -W "${worksrcpath}" "git submodule update --init --recursive"
}
post-destroot {
# Avoid conflicts between different clang builds
move ${destroot}${prefix}/bin/ccls ${destroot}${prefix}/bin/${subport}
}
}

0 comments on commit 0c9cc20

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