aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Vyalkova <cyber@sysrq.in>2021-05-16 20:09:52 +0500
committerAnna Vyalkova <cyber@sysrq.in>2021-05-16 21:11:07 +0500
commit5566e687462c848511bc19f894d33497808a1891 (patch)
tree0cd2cd477a31a2bcb54b4f5b996baa8e9e3eab85 /sys-cluster/sionlib
parentsci-mathematics/frama-c: fix AR and RANLIB (diff)
downloadguru-5566e687462c848511bc19f894d33497808a1891.tar.gz
guru-5566e687462c848511bc19f894d33497808a1891.tar.bz2
guru-5566e687462c848511bc19f894d33497808a1891.zip
sys-cluster/sionlib: fix tests
Closes: https://bugs.gentoo.org/786204 Signed-off-by: Anna Vyalkova <cyber@sysrq.in>
Diffstat (limited to 'sys-cluster/sionlib')
-rw-r--r--sys-cluster/sionlib/sionlib-1.7.6-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-cluster/sionlib/sionlib-1.7.6-r1.ebuild b/sys-cluster/sionlib/sionlib-1.7.6-r1.ebuild
index 4b8328064..bd43b5fa2 100644
--- a/sys-cluster/sionlib/sionlib-1.7.6-r1.ebuild
+++ b/sys-cluster/sionlib/sionlib-1.7.6-r1.ebuild
@@ -44,6 +44,11 @@ pkg_setup() {
fortran-2_pkg_setup
}
+src_prepare() {
+ default
+ sed 's/CXXFLAGS = $(CXXFLAGS)/CXXFLAGS = /' -i test/serial/Makefile || die
+}
+
src_configure() {
tc-export AR CC CXX F77 FC
export MPICC=/usr/bin/mpicc