aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Torokhov <torokhov-s-a@yandex.ru>2022-09-02 16:44:31 +0300
committerSergey Torokhov <torokhov-s-a@yandex.ru>2022-09-02 16:44:31 +0300
commita781327a4baae60217c1d76cd4b3cdc4c7f7be3d (patch)
tree394b50709be53418494422117c094aee243067ff /sys-cluster
parentdev-games/godot: treeclean, migrated to ::gentoo (diff)
downloadguru-a781327a4baae60217c1d76cd4b3cdc4c7f7be3d.tar.gz
guru-a781327a4baae60217c1d76cd4b3cdc4c7f7be3d.tar.bz2
guru-a781327a4baae60217c1d76cd4b3cdc4c7f7be3d.zip
sys-cluster/opencoarrays: add filter-lto to fix compile error
Closes: https://bugs.gentoo.org/860765 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.ebuild8
-rw-r--r--sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild10
-rw-r--r--sys-cluster/opencoarrays/opencoarrays-2.9.3.ebuild10
3 files changed, 15 insertions, 13 deletions
diff --git a/sys-cluster/opencoarrays/opencoarrays-2.10.0.ebuild b/sys-cluster/opencoarrays/opencoarrays-2.10.0.ebuild
index 951b82902..ca009c52c 100644
--- a/sys-cluster/opencoarrays/opencoarrays-2.10.0.ebuild
+++ b/sys-cluster/opencoarrays/opencoarrays-2.10.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_STANDARD="2003"
-inherit cmake fortran-2
+inherit cmake flag-o-matic fortran-2
MY_PN="OpenCoarrays"
@@ -33,3 +33,9 @@ RDEPEND="
DEPEND="
${RDEPEND}
"
+
+src_configure() {
+ filter-lto # Bug 860765
+
+ cmake_src_configure
+}
diff --git a/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild b/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild
index 993256530..ca009c52c 100644
--- a/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild
+++ b/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild
@@ -6,7 +6,7 @@ EAPI=8
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_STANDARD="2003"
-inherit cmake fortran-2
+inherit cmake flag-o-matic fortran-2
MY_PN="OpenCoarrays"
@@ -34,10 +34,8 @@ DEPEND="
${RDEPEND}
"
-pkg_setup() {
- fortran-2_pkg_setup
-}
+src_configure() {
+ filter-lto # Bug 860765
-src_test() {
- cmake_build test
+ cmake_src_configure
}
diff --git a/sys-cluster/opencoarrays/opencoarrays-2.9.3.ebuild b/sys-cluster/opencoarrays/opencoarrays-2.9.3.ebuild
index 993256530..ca009c52c 100644
--- a/sys-cluster/opencoarrays/opencoarrays-2.9.3.ebuild
+++ b/sys-cluster/opencoarrays/opencoarrays-2.9.3.ebuild
@@ -6,7 +6,7 @@ EAPI=8
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_STANDARD="2003"
-inherit cmake fortran-2
+inherit cmake flag-o-matic fortran-2
MY_PN="OpenCoarrays"
@@ -34,10 +34,8 @@ DEPEND="
${RDEPEND}
"
-pkg_setup() {
- fortran-2_pkg_setup
-}
+src_configure() {
+ filter-lto # Bug 860765
-src_test() {
- cmake_build test
+ cmake_src_configure
}