1 |
commit: dfb79c4a7df3b2a3c2f47f46b241e8213c174c2e |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 2 16:21:33 2018 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 2 16:21:33 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=dfb79c4a |
7 |
|
8 |
sys-libs/libcxx: fix path references by Michael Weiser, bug #538364 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/538364 |
11 |
Package-Manager: Portage-2.3.18-prefix, Repoman-2.3.6 |
12 |
|
13 |
sys-libs/libcxx/libcxx-5.0.1.ebuild | 9 +++++++++ |
14 |
1 file changed, 9 insertions(+) |
15 |
|
16 |
diff --git a/sys-libs/libcxx/libcxx-5.0.1.ebuild b/sys-libs/libcxx/libcxx-5.0.1.ebuild |
17 |
index 889825b71c..2aaca9ae4f 100644 |
18 |
--- a/sys-libs/libcxx/libcxx-5.0.1.ebuild |
19 |
+++ b/sys-libs/libcxx/libcxx-5.0.1.ebuild |
20 |
@@ -61,6 +61,15 @@ PATCHES=( |
21 |
"${FILESDIR}/${PN}-3.9-cmake-link-flags.patch" |
22 |
) |
23 |
|
24 |
+src_prepare() { |
25 |
+ default |
26 |
+ |
27 |
+ # eprefixify static path references to libc++abi for symbol re-export to |
28 |
+ # avoid linking against it twice in both /usr/lib and ${EPREFIX}/usr/lib |
29 |
+ local lcpa=/usr/lib/libc++abi.dylib |
30 |
+ sed -i -e "s,${lcpa},${EPREFIX}${lcpa},g" lib/CMakeLists.txt |
31 |
+} |
32 |
+ |
33 |
python_check_deps() { |
34 |
has_version "dev-python/lit[${PYTHON_USEDEP}]" |
35 |
} |