From 791afb608f257e359805191085f6310e3195b65b Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 20 Jun 2020 18:31:01 +0200 Subject: sys-libs/libomp: 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-libs/libomp/libomp-10.0.1.9999.ebuild | 7 +++++++ sys-libs/libomp/libomp-10.0.1_rc1.ebuild | 7 +++++++ sys-libs/libomp/libomp-11.0.0.9999.ebuild | 7 +++++++ 3 files changed, 21 insertions(+) (limited to 'sys-libs/libomp') diff --git a/sys-libs/libomp/libomp-10.0.1.9999.ebuild b/sys-libs/libomp/libomp-10.0.1.9999.ebuild index 7277ff84d5c8..b2d599eb53d0 100644 --- a/sys-libs/libomp/libomp-10.0.1.9999.ebuild +++ b/sys-libs/libomp/libomp-10.0.1.9999.ebuild @@ -66,6 +66,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)" local mycmakeargs=( diff --git a/sys-libs/libomp/libomp-10.0.1_rc1.ebuild b/sys-libs/libomp/libomp-10.0.1_rc1.ebuild index 7277ff84d5c8..b2d599eb53d0 100644 --- a/sys-libs/libomp/libomp-10.0.1_rc1.ebuild +++ b/sys-libs/libomp/libomp-10.0.1_rc1.ebuild @@ -66,6 +66,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)" local mycmakeargs=( diff --git a/sys-libs/libomp/libomp-11.0.0.9999.ebuild b/sys-libs/libomp/libomp-11.0.0.9999.ebuild index 7277ff84d5c8..b2d599eb53d0 100644 --- a/sys-libs/libomp/libomp-11.0.0.9999.ebuild +++ b/sys-libs/libomp/libomp-11.0.0.9999.ebuild @@ -66,6 +66,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)" local mycmakeargs=( -- cgit v1.2.3-65-gdbad