<pre style='margin:0'>
Jeremy Huddleston Sequoia (jeremyhu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b388e206e96c3a368da19664b4dd5582c769b5ac">https://github.com/macports/macports-ports/commit/b388e206e96c3a368da19664b4dd5582c769b5ac</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 b388e20 llvm/clang/lldb 3.9+ fix rpath handling, revbump
</span>b388e20 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b388e206e96c3a368da19664b4dd5582c769b5ac
</span>Author: ken-cunningham-webuse <ken.cunningham.webuse@gmail.com>
AuthorDate: Thu Aug 29 00:08:48 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> llvm/clang/lldb 3.9+ fix rpath handling, revbump
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> this was originally fixed in
</span><span style='display:block; white-space:pre;color:#404040;'> <https://github.com/macports/macports-ports/commit/e75a4491bbaf8e8346068ac6c9f52e082e3634b3>
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> but once
</span><span style='display:block; white-space:pre;color:#404040;'> <https://github.com/macports/macports-ports/pull/103/commits/4cddb7db3a182f366d605e8db97944cd9d1e0e87>
</span><span style='display:block; white-space:pre;color:#404040;'> was merged, the configure.args-delete in the portfile no longer deleted the install_name and install_rpath settings
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> this resulted in llvm/clang/lldb dylibs sometimes being installed with incorrect library names
</span><span style='display:block; white-space:pre;color:#404040;'> and caused errors using the sanitizer libs and similar in clang
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> the PR restores the previous intended behaviour to allow the cmake scripts in llvm* to set the rpaths
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> see: https://trac.macports.org/ticket/53299
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/57152
</span><span style='display:block; white-space:pre;color:#404040;'> see: https://trac.macports.org/ticket/58889
</span>---
lang/llvm-3.9/Portfile | 14 +++++++-------
lang/llvm-4.0/Portfile | 16 ++++++++--------
lang/llvm-5.0/Portfile | 15 ++++++++-------
lang/llvm-6.0/Portfile | 15 ++++++++-------
lang/llvm-7.0/Portfile | 16 ++++++++--------
lang/llvm-8.0/Portfile | 15 ++++++++-------
lang/llvm-devel/Portfile | 15 ++++++++-------
7 files changed, 55 insertions(+), 51 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.9/Portfile b/lang/llvm-3.9/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 700551a..10a2573 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,8 +10,8 @@ PortGroup cmake 1.0
</span> set llvm_version 3.9
set llvm_version_no_dot 39
name llvm-${llvm_version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport clang-${llvm_version} { revision 9 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport clang-${llvm_version} { revision 10 }
</span> set suffix mp-${llvm_version}
set sub_prefix ${prefix}/libexec/llvm-${llvm_version}
dist_subdir llvm
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -175,14 +175,14 @@ default build.dir {${workpath}/build}
</span>
cmake.install_prefix ${sub_prefix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Adjust this once cmake-1.0.tcl is fixed:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://github.com/macports/macports-ports/pull/103
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Also see:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# clang shared libraries are not all installed in ${cmake.install_prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# so we have to let the llvm/clang cmake scripts handle the @rpath setting
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See:
</span> # https://llvm.org/bugs/show_bug.cgi?id=31425
# https://trac.macports.org/ticket/53299
configure.args-delete \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_RPATH=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_NAME_DIR=${cmake.install_prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_RPATH=${cmake.install_prefix}/lib \
</span> -DCMAKE_SYSTEM_PREFIX_PATH="${prefix}\;/usr"
configure.args-append \
-DCMAKE_SYSTEM_PREFIX_PATH="${cmake.install_prefix}\;${prefix}\;/usr"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-4.0/Portfile b/lang/llvm-4.0/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 28e6b45..a639366 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-4.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-4.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,9 +12,9 @@ set llvm_version_no_dot 40
</span> set clang_executable_version 4.0
set lldb_executable_version 4.0.1
name llvm-${llvm_version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport clang-${llvm_version} { revision 6 }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport lldb-${llvm_version} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport clang-${llvm_version} { revision 7 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport lldb-${llvm_version} { revision 1 }
</span> set suffix mp-${llvm_version}
set sub_prefix ${prefix}/libexec/llvm-${llvm_version}
dist_subdir llvm
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -217,14 +217,14 @@ default build.dir {${workpath}/build}
</span>
cmake.install_prefix ${sub_prefix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Adjust this once cmake-1.0.tcl is fixed:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://github.com/macports/macports-ports/pull/103
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Also see:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# clang shared libraries are not all installed in ${cmake.install_prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# so we have to let the llvm/clang cmake scripts handle the @rpath setting
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See:
</span> # https://llvm.org/bugs/show_bug.cgi?id=31425
# https://trac.macports.org/ticket/53299
configure.args-delete \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_RPATH=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_NAME_DIR=${cmake.install_prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_RPATH=${cmake.install_prefix}/lib \
</span> -DCMAKE_SYSTEM_PREFIX_PATH="${prefix}\;/usr"
configure.args-append \
-DCMAKE_SYSTEM_PREFIX_PATH="${cmake.install_prefix}\;${prefix}\;/usr"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-5.0/Portfile b/lang/llvm-5.0/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f331855..d40962c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-5.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-5.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,8 +12,9 @@ set llvm_version_no_dot 50
</span> set clang_executable_version 5.0
set lldb_executable_version 5.0.2
name llvm-${llvm_version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-subport clang-${llvm_version} { revision 3 }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport lldb-${llvm_version} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport clang-${llvm_version} { revision 4 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport lldb-${llvm_version} { revision 1 }
</span> set suffix mp-${llvm_version}
set sub_prefix ${prefix}/libexec/llvm-${llvm_version}
dist_subdir llvm
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -224,14 +225,14 @@ default build.dir {${workpath}/build}
</span>
cmake.install_prefix ${sub_prefix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Adjust this once cmake-1.0.tcl is fixed:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://github.com/macports/macports-ports/pull/103
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Also see:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# clang shared libraries are not installed in ${cmake.install_prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# so we have to let the llvm/clang cmake scripts handle the @rpath setting
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See:
</span> # https://llvm.org/bugs/show_bug.cgi?id=31425
# https://trac.macports.org/ticket/53299
configure.args-delete \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_RPATH=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_NAME_DIR=${cmake.install_prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_RPATH=${cmake.install_prefix}/lib \
</span> -DCMAKE_SYSTEM_PREFIX_PATH="${prefix}\;/usr"
configure.args-append \
-DCMAKE_SYSTEM_PREFIX_PATH="${cmake.install_prefix}\;${prefix}\;/usr"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-6.0/Portfile b/lang/llvm-6.0/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index abac39b..0649cc6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-6.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-6.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,8 +12,9 @@ set llvm_version_no_dot 60
</span> set clang_executable_version 6.0
set lldb_executable_version 6.0.1
name llvm-${llvm_version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-subport clang-${llvm_version} { revision 2 }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport lldb-${llvm_version} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport clang-${llvm_version} { revision 3 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport lldb-${llvm_version} { revision 1 }
</span> set suffix mp-${llvm_version}
set sub_prefix ${prefix}/libexec/llvm-${llvm_version}
dist_subdir llvm
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -219,14 +220,14 @@ default build.dir {${workpath}/build}
</span>
cmake.install_prefix ${sub_prefix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Adjust this once cmake-1.0.tcl is fixed:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://github.com/macports/macports-ports/pull/103
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Also see:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# clang shared libraries are not all installed in ${cmake.install_prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# so we have to let the llvm/clang cmake scripts handle the @rpath setting
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See:
</span> # https://llvm.org/bugs/show_bug.cgi?id=31425
# https://trac.macports.org/ticket/53299
configure.args-delete \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_RPATH=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_NAME_DIR=${cmake.install_prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_RPATH=${cmake.install_prefix}/lib \
</span> -DCMAKE_SYSTEM_PREFIX_PATH="${prefix}\;/usr"
configure.args-append \
-DCMAKE_SYSTEM_PREFIX_PATH="${cmake.install_prefix}\;${prefix}\;/usr"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-7.0/Portfile b/lang/llvm-7.0/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e20ac22..72544f4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-7.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-7.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,9 +12,9 @@ set llvm_version_no_dot 70
</span> set clang_executable_version 7
set lldb_executable_version 7.0.1
name llvm-${llvm_version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport clang-${llvm_version} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport lldb-${llvm_version} { revision 0 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport clang-${llvm_version} { revision 1 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport lldb-${llvm_version} { revision 1 }
</span> set suffix mp-${llvm_version}
set sub_prefix ${prefix}/libexec/llvm-${llvm_version}
dist_subdir llvm
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -219,14 +219,14 @@ default build.dir {${workpath}/build}
</span>
cmake.install_prefix ${sub_prefix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Adjust this once cmake-1.0.tcl is fixed:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://github.com/macports/macports-ports/pull/103
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Also see:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# clang shared libraries are not all installed in ${cmake.install_prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# so we have to let the llvm/clang cmake scripts handle the @rpath setting
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See:
</span> # https://llvm.org/bugs/show_bug.cgi?id=31425
# https://trac.macports.org/ticket/53299
configure.args-delete \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_RPATH=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_NAME_DIR=${cmake.install_prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_RPATH=${cmake.install_prefix}/lib \
</span> -DCMAKE_SYSTEM_PREFIX_PATH="${prefix}\;/usr"
configure.args-append \
-DCMAKE_SYSTEM_PREFIX_PATH="${cmake.install_prefix}\;${prefix}\;/usr"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-8.0/Portfile b/lang/llvm-8.0/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 50e21b5..a496d0c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-8.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-8.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,8 +12,9 @@ set llvm_version_no_dot 80
</span> set clang_executable_version 8
set lldb_executable_version 8.0.0
name llvm-${llvm_version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-subport clang-${llvm_version} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport lldb-${llvm_version} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport clang-${llvm_version} { revision 1 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport lldb-${llvm_version} { revision 1 }
</span> set suffix mp-${llvm_version}
set sub_prefix ${prefix}/libexec/llvm-${llvm_version}
dist_subdir llvm
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -219,14 +220,14 @@ default build.dir {${workpath}/build}
</span>
cmake.install_prefix ${sub_prefix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Adjust this once cmake-1.0.tcl is fixed:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://github.com/macports/macports-ports/pull/103
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Also see:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# clang shared libraries are not all installed in ${cmake.install_prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# so we have to let the llvm/clang cmake scripts handle the @rpath setting
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See:
</span> # https://llvm.org/bugs/show_bug.cgi?id=31425
# https://trac.macports.org/ticket/53299
configure.args-delete \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_RPATH=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_NAME_DIR=${cmake.install_prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_RPATH=${cmake.install_prefix}/lib \
</span> -DCMAKE_SYSTEM_PREFIX_PATH="${prefix}\;/usr"
configure.args-append \
-DCMAKE_SYSTEM_PREFIX_PATH="${cmake.install_prefix}\;${prefix}\;/usr"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-devel/Portfile b/lang/llvm-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8abc097..fbe95e0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,8 +12,9 @@ set llvm_version_no_dot devel
</span> set clang_executable_version 9
set lldb_executable_version 9.0.0
name llvm-${llvm_version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-subport clang-${llvm_version} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport lldb-${llvm_version} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport clang-${llvm_version} { revision 1 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport lldb-${llvm_version} { revision 1 }
</span> set suffix mp-${llvm_version}
set sub_prefix ${prefix}/libexec/llvm-${llvm_version}
dist_subdir llvm
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -196,14 +197,14 @@ default build.dir {${workpath}/build}
</span>
cmake.install_prefix ${sub_prefix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Adjust this once cmake-1.0.tcl is fixed:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://github.com/macports/macports-ports/pull/103
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Also see:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# clang shared libraries are not all installed in ${cmake.install_prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# so we have to let the llvm/clang cmake scripts handle the @rpath setting
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See:
</span> # https://llvm.org/bugs/show_bug.cgi?id=31425
# https://trac.macports.org/ticket/53299
configure.args-delete \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_INSTALL_RPATH=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_NAME_DIR=${cmake.install_prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_INSTALL_RPATH=${cmake.install_prefix}/lib \
</span> -DCMAKE_SYSTEM_PREFIX_PATH="${prefix}\;/usr"
configure.args-append \
-DCMAKE_SYSTEM_PREFIX_PATH="${cmake.install_prefix}\;${prefix}\;/usr"
</pre><pre style='margin:0'>
</pre>