commit:     6b76c450fd2c03f574524e3d01b54de20b7dcb20
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun Jan 25 09:01:19 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Jan 25 09:01:19 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6b76c450

sci-libs/mpiblacs: Move to EAPI=5; Add missing dies

---
 sci-libs/mpiblacs/ChangeLog              |  5 ++++-
 sci-libs/mpiblacs/mpiblacs-1.1-r1.ebuild | 10 +++++-----
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/sci-libs/mpiblacs/ChangeLog b/sci-libs/mpiblacs/ChangeLog
index b4e36f9..5f12262 100644
--- a/sci-libs/mpiblacs/ChangeLog
+++ b/sci-libs/mpiblacs/ChangeLog
@@ -1,7 +1,10 @@
 # ChangeLog for sci-libs/mpiblacs
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  25 Jan 2015; Marius Brehler <mar...@linux.sungazer.de>
+  mpiblacs-1.1-r1.ebuild: Move to EAPI=5 and clean ebuild
+
   12 Jul 2012; Sébastien Fabbro <bicat...@gentoo.org> mpiblacs-1.1-r1.ebuild:
   sci-libs/mpiblacs: Shared library fixes and prefix love
 

diff --git a/sci-libs/mpiblacs/mpiblacs-1.1-r1.ebuild 
b/sci-libs/mpiblacs/mpiblacs-1.1-r1.ebuild
index 3d512cf..833380a 100644
--- a/sci-libs/mpiblacs/mpiblacs-1.1-r1.ebuild
+++ b/sci-libs/mpiblacs/mpiblacs-1.1-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 inherit eutils toolchain-funcs versionator alternatives-2 multilib
 
 DESCRIPTION="Basic Linear Algebra Communication Subprograms with MPI"
@@ -42,13 +42,13 @@ static_to_shared() {
                        -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive 
\
                        "$@" -o ${libdir}/${soname} || die "${soname} failed"
                [[ $(get_version_component_count) -gt 1 ]] && \
-                       ln -s ${soname} ${libdir}/${libname}$(get_libname 
$(get_major_version))
-               ln -s ${soname} ${libdir}/${libname}$(get_libname)
+                       ln -s ${soname} ${libdir}/${libname}$(get_libname 
$(get_major_version)) || die
+               ln -s ${soname} ${libdir}/${libname}$(get_libname) || die
        fi
 }
 
 src_prepare() {
-       find . -name Makefile -exec sed -i -e 's:make:$(MAKE):g' '{}' \;
+       find . -name Makefile -exec sed -i -e 's:make:$(MAKE):g' '{}' \; || die
 
        sed -e "s:\(SHELL\s*=\).*:\1$(type -P sh):" \
                -e "s:\(BTOPdir\s*=\).*:\1${S}:" \

Reply via email to