diff options
author | Sergey Torokhov <torokhov-s-a@yandex.ru> | 2023-05-27 23:29:04 +0300 |
---|---|---|
committer | Sergey Torokhov <torokhov-s-a@yandex.ru> | 2023-05-27 23:29:04 +0300 |
commit | 34ee96ad9de24ad48c0cf6067dcceef8f92c353e (patch) | |
tree | 22f2d34e725ef7243a6af8820cd535eb9aa05095 /sys-cluster | |
parent | sys-cluster/opencoarrays: fix -Wint-conversion CMake conf warning/error (diff) | |
download | guru-34ee96ad9de24ad48c0cf6067dcceef8f92c353e.tar.gz guru-34ee96ad9de24ad48c0cf6067dcceef8f92c353e.tar.bz2 guru-34ee96ad9de24ad48c0cf6067dcceef8f92c353e.zip |
sys-cluster/opencoarrays: fix install '*.a' without static-libs USE
Closes: https://bugs.gentoo.org/901423
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/opencoarrays/opencoarrays-2.10.0-r1.ebuild (renamed from sys-cluster/opencoarrays/opencoarrays-2.10.0.ebuild) | 10 | ||||
-rw-r--r-- | sys-cluster/opencoarrays/opencoarrays-2.10.1-r1.ebuild (renamed from sys-cluster/opencoarrays/opencoarrays-2.10.1.ebuild) | 10 | ||||
-rw-r--r-- | sys-cluster/opencoarrays/opencoarrays-2.9.3-r1.ebuild (renamed from sys-cluster/opencoarrays/opencoarrays-2.9.3.ebuild) | 10 |
3 files changed, 27 insertions, 3 deletions
diff --git a/sys-cluster/opencoarrays/opencoarrays-2.10.0.ebuild b/sys-cluster/opencoarrays/opencoarrays-2.10.0-r1.ebuild index 483ed4d3c..e235d00f7 100644 --- a/sys-cluster/opencoarrays/opencoarrays-2.10.0.ebuild +++ b/sys-cluster/opencoarrays/opencoarrays-2.10.0-r1.ebuild @@ -23,7 +23,7 @@ KEYWORDS="~amd64 ~x86" # Tests fail with FEATURES="network-sandbox" for most versions of openmpi and mpich it with error: # "No network interfaces were found for out-of-band communications. # We require at least one available network for out-of-band messaging." -IUSE="test" +IUSE="static-libs test" PROPERTIES="test_network" RESTRICT="!test? ( test )" @@ -43,3 +43,11 @@ src_configure() { cmake_src_configure } + +src_install() { + cmake_src_install + + if ! use static-libs ; then + find "${ED}" -name '*.a' -delete || die # Bug 901423 + fi +} diff --git a/sys-cluster/opencoarrays/opencoarrays-2.10.1.ebuild b/sys-cluster/opencoarrays/opencoarrays-2.10.1-r1.ebuild index 4080b13e9..1afe6919a 100644 --- a/sys-cluster/opencoarrays/opencoarrays-2.10.1.ebuild +++ b/sys-cluster/opencoarrays/opencoarrays-2.10.1-r1.ebuild @@ -23,7 +23,7 @@ KEYWORDS="~amd64 ~x86" # Tests fail with FEATURES="network-sandbox" for most versions of openmpi and mpich it with error: # "No network interfaces were found for out-of-band communications. # We require at least one available network for out-of-band messaging." -IUSE="test" +IUSE="static-libs test" PROPERTIES="test_network" RESTRICT="!test? ( test )" @@ -46,3 +46,11 @@ src_configure() { cmake_src_configure } + +src_install() { + cmake_src_install + + if ! use static-libs ; then + find "${ED}" -name '*.a' -delete || die # Bug 901423 + fi +} diff --git a/sys-cluster/opencoarrays/opencoarrays-2.9.3.ebuild b/sys-cluster/opencoarrays/opencoarrays-2.9.3-r1.ebuild index 483ed4d3c..e235d00f7 100644 --- a/sys-cluster/opencoarrays/opencoarrays-2.9.3.ebuild +++ b/sys-cluster/opencoarrays/opencoarrays-2.9.3-r1.ebuild @@ -23,7 +23,7 @@ KEYWORDS="~amd64 ~x86" # Tests fail with FEATURES="network-sandbox" for most versions of openmpi and mpich it with error: # "No network interfaces were found for out-of-band communications. # We require at least one available network for out-of-band messaging." -IUSE="test" +IUSE="static-libs test" PROPERTIES="test_network" RESTRICT="!test? ( test )" @@ -43,3 +43,11 @@ src_configure() { cmake_src_configure } + +src_install() { + cmake_src_install + + if ! use static-libs ; then + find "${ED}" -name '*.a' -delete || die # Bug 901423 + fi +} |