Skip to content

Commit

Permalink
games-emulation/lxdream: EAPI=5; fix underlinking (bug #369323)
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26
  • Loading branch information
Michael Sterrett committed Feb 16, 2016
1 parent dfb0fda commit 7a9bfb0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions games-emulation/lxdream/lxdream-0.9.1-r2.ebuild
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=4
inherit eutils games
EAPI=5
inherit eutils flag-o-matic games

DESCRIPTION="An emulator for the Sega Dreamcast system"
HOMEPAGE="http://www.lxdream.org/"
Expand Down Expand Up @@ -35,13 +35,14 @@ src_prepare() {
-e '/Encoding/d' \
-e '/FilePattern/d' \
-e '/Categories/s|$|;|' \
${PN}.desktop || die "sed failed"
${PN}.desktop || die
# Do not override user-specified CFLAGS
sed -i \
-e s/'CFLAGS=\"-g -fexceptions\"'/'CFLAGS=\"${CFLAGS} -g -fexceptions\"'/ \
-e '/CCOPT/d' \
-e '/OBJCOPT/d' \
configure || die "sed failed"
configure || die
append-libs -lX11 -lm
}

src_configure() {
Expand All @@ -57,7 +58,6 @@ src_configure() {
}

src_install() {
emake DESTDIR="${D}" install
dodoc ChangeLog NEWS README
default
prepgamesdirs
}

0 comments on commit 7a9bfb0

Please sign in to comment.