summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-cluster/native-mpi/native-mpi-0.ebuild8
1 files 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 5b2cab5d1d15..3d8f73847393 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