commit: 929d179d67efc0dc0275f0253504256162afc7ed
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Feb 7 10:37:58 2015 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Sat Feb 7 10:46:35 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=929d179d
sys-cluster/mvapich2-1.6-r1: Add missing, drop useless dies
---
sys-cluster/mvapich2/mvapich2-1.6-r1.ebuild | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/sys-cluster/mvapich2/mvapich2-1.6-r1.ebuild
b/sys-cluster/mvapich2/mvapich2-1.6-r1.ebuild
index d13c57c..97c0878 100644
--- a/sys-cluster/mvapich2/mvapich2-1.6-r1.ebuild
+++ b/sys-cluster/mvapich2/mvapich2-1.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -66,7 +66,7 @@ src_prepare() {
# Examples are always compiled with the default 'all' target. This
# causes problems when we don't build support for everything, including
# threads, mpe2, etc. So we're not going to build them.
- sed -i 's:.*cd examples && ${MAKE} all.*::' Makefile.in
+ sed -i 's:.*cd examples && ${MAKE} all.*::' Makefile.in || die
}
src_configure() {
@@ -119,16 +119,16 @@ src_configure() {
sed -i \
-e 's/ ${exec_prefix}/ ${DESTDIR}${exec_prefix}/' \
-e 's/ ${libdir}/ ${DESTDIR}${libdir}/' \
- ${S/-beta2/}/Makefile.in
- sed -i '/bindir/s/ ${bindir}/ ${DESTDIR}${bindir}/'
${S/-beta2/}/src/pm/mpd/Makefile.in
- cd ${S/-beta2/}
+ ${S/-beta2/}/Makefile.in || die
+ sed -i '/bindir/s/ ${bindir}/ ${DESTDIR}${bindir}/'
${S/-beta2/}/src/pm/mpd/Makefile.in || die
+ cd ${S/-beta2/} || die
! mpi_classed && c="${c} --sysconfdir=/etc/${PN}"
econf $(mpi_econf_args) ${c}
}
src_install() {
- emake DESTDIR="${D}"|| die
+ emake DESTDIR="${D}"
mpi_dodoc CHANGES_MPICH2 COPYRIGHT COPYRIGHT_MVAPICH2 LICENSE.TXT \
README* RELEASE_NOTES*
mpi_imp_add_eselect