commit: efc0e1e0d2143f546cb567660ce5757e4ce2630a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 20 16:15:19 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 20 16:32:49 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efc0e1e0
sys-libs/llvm-libunwind: Apply patches in WORKDIR in 10.0.1+
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sys-libs/llvm-libunwind/llvm-libunwind-10.0.1.9999.ebuild | 7 +++++++
sys-libs/llvm-libunwind/llvm-libunwind-10.0.1_rc1.ebuild | 7 +++++++
sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.9999.ebuild | 7 +++++++
3 files changed, 21 insertions(+)
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-10.0.1.9999.ebuild
b/sys-libs/llvm-libunwind/llvm-libunwind-10.0.1.9999.ebuild
index d622d1cdee5..df0cdeaeb55 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-10.0.1.9999.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-10.0.1.9999.ebuild
@@ -37,6 +37,13 @@ pkg_setup() {
use test && python-any-r1_pkg_setup
}
+src_prepare() {
+ # cmake eclasses suck by forcing ${S} here
+ CMAKE_USE_DIR=${S} \
+ S=${WORKDIR} \
+ cmake-utils_src_prepare
+}
+
multilib_src_configure() {
local libdir=$(get_libdir)
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-10.0.1_rc1.ebuild
b/sys-libs/llvm-libunwind/llvm-libunwind-10.0.1_rc1.ebuild
index d622d1cdee5..df0cdeaeb55 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-10.0.1_rc1.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-10.0.1_rc1.ebuild
@@ -37,6 +37,13 @@ pkg_setup() {
use test && python-any-r1_pkg_setup
}
+src_prepare() {
+ # cmake eclasses suck by forcing ${S} here
+ CMAKE_USE_DIR=${S} \
+ S=${WORKDIR} \
+ cmake-utils_src_prepare
+}
+
multilib_src_configure() {
local libdir=$(get_libdir)
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.9999.ebuild
b/sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.9999.ebuild
index 4f813dc7e2c..796cfb52760 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.9999.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-11.0.0.9999.ebuild
@@ -37,6 +37,13 @@ pkg_setup() {
use test && python-any-r1_pkg_setup
}
+src_prepare() {
+ # cmake eclasses suck by forcing ${S} here
+ CMAKE_USE_DIR=${S} \
+ S=${WORKDIR} \
+ cmake-utils_src_prepare
+}
+
multilib_src_configure() {
local libdir=$(get_libdir)