commit:     697e56a732744e713142a994dff987de8acc9acf
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 18 09:22:38 2015 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Fri Dec 18 09:22:38 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=697e56a7

EAPI=5; minor tidying

Package-Manager: portage-2.2.24

 games-action/tuxkart/tuxkart-0.4.0.ebuild | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/games-action/tuxkart/tuxkart-0.4.0.ebuild 
b/games-action/tuxkart/tuxkart-0.4.0.ebuild
index cbbd0a9..a662aec 100644
--- a/games-action/tuxkart/tuxkart-0.4.0.ebuild
+++ b/games-action/tuxkart/tuxkart-0.4.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit games
 
 DESCRIPTION="A racing game starring Tux, the linux penguin"
@@ -29,16 +29,13 @@ src_prepare() {
        # apparently <sys/perm.h> doesn't exist on alpha
        if use alpha; then
                sed -i \
-                       -e '/#include <sys\/perm.h>/d' src/gfx.cxx \
-                       || die "sed src/gfx.cxx failed"
+                       -e '/#include <sys\/perm.h>/d' src/gfx.cxx || die
        fi
        sed -i \
                -e "/^plib_suffix/ s/-lplibul/-lplibul -lplibjs/" \
-               -e "s/-malign-double//; s/-O6//" configure \
-               || die "sed configure failed"
+               -e "s/-malign-double//; s/-O6//" configure || die
        sed -i \
-               -e "/^bindir/s/=.*/=@bindir@/" src/Makefile.in \
-               || die "sed src/Makefile.in failed"
+               -e "/^bindir/s/=.*/=@bindir@/" src/Makefile.in || die
 }
 
 src_configure() {

Reply via email to