From 9ee2d5481409e61cb0fbdf935639107c48ce2859 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 20 Jun 2020 15:38:46 +0200 Subject: sys-devel/lld: Apply patches in WORKDIR in 10.0.1+ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sys-devel/lld/lld-10.0.1.9999.ebuild | 7 +++++++ sys-devel/lld/lld-10.0.1_rc1.ebuild | 7 +++++++ sys-devel/lld/lld-11.0.0.9999.ebuild | 7 +++++++ 3 files changed, 21 insertions(+) (limited to 'sys-devel/lld') diff --git a/sys-devel/lld/lld-10.0.1.9999.ebuild b/sys-devel/lld/lld-10.0.1.9999.ebuild index f15808abce81..03b235ef7eb6 100644 --- a/sys-devel/lld/lld-10.0.1.9999.ebuild +++ b/sys-devel/lld/lld-10.0.1.9999.ebuild @@ -34,6 +34,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 +} + src_configure() { local mycmakeargs=( -DBUILD_SHARED_LIBS=OFF diff --git a/sys-devel/lld/lld-10.0.1_rc1.ebuild b/sys-devel/lld/lld-10.0.1_rc1.ebuild index f15808abce81..03b235ef7eb6 100644 --- a/sys-devel/lld/lld-10.0.1_rc1.ebuild +++ b/sys-devel/lld/lld-10.0.1_rc1.ebuild @@ -34,6 +34,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 +} + src_configure() { local mycmakeargs=( -DBUILD_SHARED_LIBS=OFF diff --git a/sys-devel/lld/lld-11.0.0.9999.ebuild b/sys-devel/lld/lld-11.0.0.9999.ebuild index f15808abce81..03b235ef7eb6 100644 --- a/sys-devel/lld/lld-11.0.0.9999.ebuild +++ b/sys-devel/lld/lld-11.0.0.9999.ebuild @@ -34,6 +34,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 +} + src_configure() { local mycmakeargs=( -DBUILD_SHARED_LIBS=OFF -- cgit v1.2.3-65-gdbad