aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2015-02-19 18:58:36 -0700
committerChristoph Junghans <ottxor@gentoo.org>2015-02-19 18:58:36 -0700
commit1c86c56373e97a238b5b4655b77d3cff04ee8ec7 (patch)
tree69e31782b5341c6bb79cf1c50b64b5ae1e402599 /sys-cluster/mpich
parentdropped sparc (diff)
downloadsci-1c86c56373e97a238b5b4655b77d3cff04ee8ec7.tar.gz
sci-1c86c56373e97a238b5b4655b77d3cff04ee8ec7.tar.bz2
sci-1c86c56373e97a238b5b4655b77d3cff04ee8ec7.zip
disable natvie fortran
Package-Manager: portage-2.2.14
Diffstat (limited to 'sys-cluster/mpich')
-rw-r--r--sys-cluster/mpich/ChangeLog3
-rw-r--r--sys-cluster/mpich/mpich-3.1.3-r1.ebuild4
2 files changed, 5 insertions, 2 deletions
diff --git a/sys-cluster/mpich/ChangeLog b/sys-cluster/mpich/ChangeLog
index 719cc52e1..77d61824c 100644
--- a/sys-cluster/mpich/ChangeLog
+++ b/sys-cluster/mpich/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 20 Feb 2015; Christoph Junghans <ottxor@gentoo.org> mpich-3.1.3-r1.ebuild:
+ disable natvie fortran
+
*mpich-3.1.3-r1 (17 Feb 2015)
17 Feb 2015; Christoph Junghans <ottxor@gentoo.org> +mpich-3.1.3-r1.ebuild:
diff --git a/sys-cluster/mpich/mpich-3.1.3-r1.ebuild b/sys-cluster/mpich/mpich-3.1.3-r1.ebuild
index 3aea43762..e0797c257 100644
--- a/sys-cluster/mpich/mpich-3.1.3-r1.ebuild
+++ b/sys-cluster/mpich/mpich-3.1.3-r1.ebuild
@@ -97,7 +97,7 @@ multilib_src_configure() {
--with-hwloc-prefix=/usr \
$(use_enable romio) \
$(use_enable cxx) \
- $(use_enable fortran fortran all)
+ $(multilib_native_use_enable fortran fortran all)
}
multilib_src_test() {
@@ -108,7 +108,7 @@ multilib_src_install() {
default
#fortran modules are arch-specific, follow OpenMPI and put them in lib
- if use fortran; then
+ if multilib_is_native_abi && use fortran; then
mv "${ED}"/usr/include/*.mod "${ED}"/usr/$(get_libdir) || die
fi
}