<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2833b07d28fe7d1a01f1ae6269026a39a6345fa1">https://github.com/macports/macports-ports/commit/2833b07d28fe7d1a01f1ae6269026a39a6345fa1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2833b07d28fe7d1a01f1ae6269026a39a6345fa1
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Tue Dec 24 07:22:04 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> castxml: allow binary to find libLLVM.dylib
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> libLLVM.dylib is installed as @rpath/libLLVM.dylib.
</span><span style='display:block; white-space:pre;color:#404040;'> So the full path of libLLVM.dylib must be in the rpath of castxml.
</span>---
lang/castxml/Portfile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
<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 a762868..eb6afef 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;'>@@ -9,7 +9,7 @@ github.setup CastXML CastXML 0.2.0 v
</span>
name castxml
epoch 20190718
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories lang
platforms darwin
license Apache-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,6 +40,8 @@ variant clang60 conflicts clang70 clang80 clang90 description {Use clang 6.0 too
</span> 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:#e0ffe0;'>+ cmake.install_rpath-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/libexec/llvm-6.0/lib
</span> }
variant clang70 conflicts clang60 clang80 clang90 description {Use clang 7.0 toolchain.} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,6 +50,8 @@ variant clang70 conflicts clang60 clang80 clang90 description {Use clang 7.0 too
</span> 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:#e0ffe0;'>+ cmake.install_rpath-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/libexec/llvm-7.0/lib
</span> }
variant clang80 conflicts clang60 clang70 clang90 description {Use clang 8.0 toolchain.} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,6 +60,8 @@ variant clang80 conflicts clang60 clang70 clang90 description {Use clang 8.0 too
</span> port:clang-8.0
configure.args-append \
-DLLVM_DIR=${prefix}/libexec/llvm-8.0/lib/cmake/llvm
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ cmake.install_rpath-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/libexec/llvm-8.0/lib
</span> }
variant clang90 conflicts clang60 clang70 clang80 description {Use clang 9.0 toolchain.} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -64,6 +70,8 @@ variant clang90 conflicts clang60 clang70 clang80 description {Use clang 9.0 too
</span> port:clang-9.0
configure.args-append \
-DLLVM_DIR=${prefix}/libexec/llvm-9.0/lib/cmake/llvm
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ cmake.install_rpath-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/libexec/llvm-9.0/lib
</span> }
if {![variant_isset clang60] && ![variant_isset clang70] && ![variant_isset clang90]} {
</pre><pre style='margin:0'>
</pre>