commit:     c4ec00e5eedd5a123c8e309d1aa60a08495fffcc
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 20 02:00:21 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Fri Feb 20 02:00:21 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c4ec00e5

disable natvie fortran

Package-Manager: portage-2.2.14

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

diff --git a/sys-cluster/mpich2/ChangeLog b/sys-cluster/mpich2/ChangeLog
index 0d8cea5..6bb49be 100644
--- a/sys-cluster/mpich2/ChangeLog
+++ b/sys-cluster/mpich2/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  20 Feb 2015; Christoph Junghans <[email protected]> mpich2-1.5-r1.ebuild:
+  disable natvie fortran
+
 *mpich2-1.5-r1 (17 Feb 2015)
 
   17 Feb 2015; Christoph Junghans <[email protected]> +mpich2-1.5-r1.ebuild:

diff --git a/sys-cluster/mpich2/mpich2-1.5-r1.ebuild 
b/sys-cluster/mpich2/mpich2-1.5-r1.ebuild
index a1ae784..8d04b64 100644
--- a/sys-cluster/mpich2/mpich2-1.5-r1.ebuild
+++ b/sys-cluster/mpich2/mpich2-1.5-r1.ebuild
@@ -95,7 +95,7 @@ multilib_src_configure() {
                --enable-versioning \
                $(use_enable romio) \
                $(use_enable cxx) \
-               $(use_enable fortran fortran all)
+               $(multilib_native_use_enable fortran fortran all)
 }
 
 multilib_src_test() {
@@ -106,7 +106,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