commit:     58676013a79c5548e828e7a605946fec6d34617d
Author:     Harri Nieminen <moikkis <AT> gmail <DOT> com>
AuthorDate: Fri Dec 15 17:47:28 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Dec 23 21:21:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58676013

sys-cluster/native-mpi: EAPI 3 -> 6

Package-Manager: Portage-2.3.18, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/6556

 sys-cluster/native-mpi/native-mpi-0.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/native-mpi/native-mpi-0.ebuild 
b/sys-cluster/native-mpi/native-mpi-0.ebuild
index 5b2cab5d1d1..3d8f7384739 100644
--- a/sys-cluster/native-mpi/native-mpi-0.ebuild
+++ b/sys-cluster/native-mpi/native-mpi-0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=3
+EAPI=6
 
 DESCRIPTION="Use native OS MPI in prefix environment"
 HOMEPAGE="https://prefix.gentoo.org";
@@ -15,8 +15,10 @@ IUSE=""
 DEPEND=""
 RDEPEND="${DEPEND}"
 
+S="${WORKDIR}"
+
 src_install() {
-       cat >> "${T}"/99mpi <<- EOF
+       cat >> "${T}"/99mpi <<- EOF || die
        MPI_CC=gcc
        MPI_CXX=g++
        MPI_FC=gfortran

Reply via email to