<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8e53bc6b370d506b81cccdd2fd224223535b3c68">https://github.com/macports/macports-ports/commit/8e53bc6b370d506b81cccdd2fd224223535b3c68</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 8e53bc6b370 ccls: obsolete subport for clang 9 - Also ensure port logic only used for non-obsolete subports Fixes: https://trac.macports.org/ticket/65711
</span>8e53bc6b370 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8e53bc6b370d506b81cccdd2fd224223535b3c68
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Tue Aug 23 12:46:23 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> ccls: obsolete subport for clang 9
</span><span style='display:block; white-space:pre;color:#404040;'> - Also ensure port logic only used for non-obsolete subports
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/65711
</span>---
devel/ccls/Portfile | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ccls/Portfile b/devel/ccls/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 59b572ef9e7..1263edf3f7a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ccls/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ccls/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,6 @@ name ccls
</span> github.setup MaskRay ccls 0.20201025
revision 0
categories devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> license Apache-2
maintainers {egorenar @egorenar} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,17 +17,17 @@ long_description {*}${description}
</span>
compiler.cxx_standard 2017
<span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach clang_v {7.0 8.0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach clang_v {7.0 8.0 9.0} {
</span> subport ccls-clang-${clang_v} {
PortGroup obsolete 1.0
# Obsolete Date: 2022-08-15
revision 1
<span style='display:block; white-space:pre;background:#ffe0e0;'>- replaced_by ccls-clang-9.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ replaced_by ccls-clang-10
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach clang_v {9.0 10 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach clang_v {10 11} {
</span> subport ccls-clang-${clang_v} {
PortGroup cmake 1.1
PortGroup compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,6 +36,18 @@ foreach clang_v {9.0 10 11} {
</span> configure.args-append -DCMAKE_PREFIX_PATH=${prefix}/libexec/llvm-${clang_v}
configure.args-append -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE
depends_lib-append port:clang-${clang_v}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Fetch from git instead of distfile because it needs submodules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fetch.type git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W "${worksrcpath}" "git submodule update --init --recursive"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Avoid conflicts between different clang builds
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot}${prefix}/bin/ccls ${destroot}${prefix}/bin/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,15 +56,4 @@ if {${subport} eq ${name}} {
</span>
supported_archs noarch
description "${description} (meta port)"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fetch from git instead of distfile because it needs submodules
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fetch.type git
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-fetch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W "${worksrcpath}" "git submodule update --init --recursive"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Avoid conflicts between different clang builds
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${destroot}${prefix}/bin/ccls ${destroot}${prefix}/bin/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> }
</pre><pre style='margin:0'>
</pre>