sys-cluster/native-mpi: EAPI 3 -> 6
authorHarri Nieminen <moikkis@gmail.com>
Fri, 15 Dec 2017 17:47:28 +0000 (19:47 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 23 Dec 2017 21:21:40 +0000 (22:21 +0100)
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

index 5b2cab5d1d1588c0180c56f069b4a3234a7524e8..3d8f7384739366cf247e537073ca90d172451da8 100644 (file)
@@ -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