summaryrefslogtreecommitdiff
path: root/sys-cluster/mpich2/mpich2-1.5.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/mpich2/mpich2-1.5.ebuild')
-rw-r--r--sys-cluster/mpich2/mpich2-1.5.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-cluster/mpich2/mpich2-1.5.ebuild b/sys-cluster/mpich2/mpich2-1.5.ebuild
index 1fc1095762f0..159474a613c1 100644
--- a/sys-cluster/mpich2/mpich2-1.5.ebuild
+++ b/sys-cluster/mpich2/mpich2-1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -43,6 +43,8 @@ pkg_setup() {
}
src_prepare() {
+ epatch "${FILESDIR}/${P}-fno-common.patch"
+
# Using MPICH2LIB_LDFLAGS doesn't seem to full work.
sed -i 's| *@WRAPPER_LDFLAGS@ *||' \
src/packaging/pkgconfig/mpich2.pc.in \