Skip to content

Commit

Permalink
EAPI=5; minor tidying
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.24
  • Loading branch information
Michael Sterrett committed Dec 18, 2015
1 parent 7dc698f commit 697e56a
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions games-action/tuxkart/tuxkart-0.4.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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() {
Expand Down

0 comments on commit 697e56a

Please sign in to comment.