commit:     1c86c56373e97a238b5b4655b77d3cff04ee8ec7
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 20 01:58:36 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Fri Feb 20 01:58:36 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=1c86c563

disable natvie fortran

Package-Manager: portage-2.2.14

---
 sys-cluster/mpich/ChangeLog             | 3 +++
 sys-cluster/mpich/mpich-3.1.3-r1.ebuild | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/mpich/ChangeLog b/sys-cluster/mpich/ChangeLog
index 719cc52..77d6182 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 <[email protected]> mpich-3.1.3-r1.ebuild:
+  disable natvie fortran
+
 *mpich-3.1.3-r1 (17 Feb 2015)
 
   17 Feb 2015; Christoph Junghans <[email protected]> +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 3aea437..e0797c2 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
 }

Reply via email to