<pre style='margin:0'>
Andrew Stromnov (stromnov) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9e38cf70d36bbd73bda15ad9ec4311c6615d3b63">https://github.com/macports/macports-ports/commit/9e38cf70d36bbd73bda15ad9ec4311c6615d3b63</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 9e38cf7 update CastXML to snapshot that supports clang-8.0, add variant for clang-8.0, remove variants for old versions of clang, make clang-7.0 variant the default
</span>9e38cf7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9e38cf70d36bbd73bda15ad9ec4311c6615d3b63
</span>Author: Mark Moll <mmoll@macports.org>
AuthorDate: Mon Apr 1 10:43:39 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> update CastXML to snapshot that supports clang-8.0, add variant for clang-8.0, remove variants for old versions of clang, make clang-7.0 variant the default
</span>---
lang/castxml/Portfile | 55 +++++++-----------------
lang/castxml/files/patch-src_CMakeLists.txt.diff | 11 -----
2 files changed, 16 insertions(+), 50 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/castxml/Portfile b/lang/castxml/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 14384ea..ef7afc2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/castxml/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/castxml/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,10 +6,10 @@ PortGroup cxx11 1.1
</span> PortGroup github 1.0
PortGroup compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup CastXML CastXML c3a239d4b9a484247031c00735a41d3cee2f2a45
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup CastXML CastXML 0404c2333bdd875a9213a78f01b1e211e9fbf6d0
</span>
name castxml
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20181115
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 20190325
</span> revision 0
categories lang
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,9 +20,9 @@ maintainers {stromnov @stromnov} openmaintainer
</span> description CastXML is a C-family abstract syntax tree XML output tool.
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 8f88631466c30ac8d21a8309692d6a799587e4d7 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 5eb35fbb1c419f0d42aad43b0af7ae2e0dfbead8e08bfe33168207b296a7de86 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 93059
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 7fee7ae55b9c38eb3e4b74090f49e9099f0007fa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2e1e4f5bf0e418211a0a1c36337e430c32682fde423ef5792358e86d46e76b5c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 93075
</span>
depends_lib-append port:zlib \
port:libffi \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,50 +32,27 @@ depends_lib-append port:zlib \
</span> configure.args-append \
-DCastXML_INSTALL_DOC_DIR=share/doc/castxml
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-src_CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant clang38 conflicts clang39 clang40 clang50 clang60 clang70 description {Use clang 3.8 toolchain.} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:clang-3.8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DLLVM_DIR=${prefix}/libexec/llvm-3.8/share/llvm/cmake
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant clang39 conflicts clang38 clang40 clang50 clang60 clang70 description {Use clang 3.9 toolchain.} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:clang-3.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DLLVM_DIR=${prefix}/libexec/llvm-3.9/lib/cmake/llvm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant clang40 conflicts clang38 clang39 clang50 clang60 clang70 description {Use clang 4.0 toolchain.} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:clang-4.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DLLVM_DIR=${prefix}/libexec/llvm-4.0/lib/cmake/llvm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant clang50 conflicts clang38 clang39 clang40 clang60 clang70 description {Use clang 5.0 toolchain.} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:clang-5.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DLLVM_DIR=${prefix}/libexec/llvm-5.0/lib/cmake/llvm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant clang60 conflicts clang38 clang39 clang40 clang50 clang70 description {Use clang 6.0 toolchain.} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant clang60 conflicts clang70 clang80 description {Use clang 6.0 toolchain.} {
</span> depends_build-append \
port:clang-6.0
configure.args-append \
-DLLVM_DIR=${prefix}/libexec/llvm-6.0/lib/cmake/llvm
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant clang70 conflicts clang38 clang39 clang40 clang50 clang60 description {Use clang 7.0 toolchain.} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant clang70 conflicts clang60 clang80 description {Use clang 7.0 toolchain.} {
</span> depends_build-append \
port:clang-7.0
configure.args-append \
-DLLVM_DIR=${prefix}/libexec/llvm-7.0/lib/cmake/llvm
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset clang38] && ![variant_isset clang39] && ![variant_isset clang40] && ![variant_isset clang50] && ![variant_isset clang60] && ![variant_isset clang70]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +clang60
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant clang80 conflicts clang60 clang70 description {Use clang 8.0 toolchain.} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:clang-8.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DLLVM_DIR=${prefix}/libexec/llvm-8.0/lib/cmake/llvm
</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;'>+if {![variant_isset clang60] && ![variant_isset clang80]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +clang70
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/castxml/files/patch-src_CMakeLists.txt.diff b/lang/castxml/files/patch-src_CMakeLists.txt.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index c6a557a..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/castxml/files/patch-src_CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/CMakeLists.txt.orig 2018-08-29 23:41:52.000000000 +0300
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/CMakeLists.txt 2018-08-29 23:42:21.000000000 +0300
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -67,7 +67,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- target_link_libraries(castxml
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${clang_libs}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ${llvm_libs}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ LLVM
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set_property(SOURCE Utils.cxx APPEND PROPERTY COMPILE_DEFINITIONS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "CASTXML_INSTALL_DATA_DIR=\"${CastXML_INSTALL_DATA_DIR}\"")
</span></pre><pre style='margin:0'>
</pre>