summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2016-02-16 09:38:43 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2016-02-16 09:40:32 -0500
commit7a9bfb05e70781a6608dfa8a7aed0ca814eb7a84 (patch)
treea63a6f3452e66287a22108df22b06afb45c40872 /games-emulation/lxdream
parentsys-process/htop: do not crash on startup (diff)
downloadgentoo-7a9bfb05e70781a6608dfa8a7aed0ca814eb7a84.tar.gz
gentoo-7a9bfb05e70781a6608dfa8a7aed0ca814eb7a84.tar.bz2
gentoo-7a9bfb05e70781a6608dfa8a7aed0ca814eb7a84.zip
games-emulation/lxdream: EAPI=5; fix underlinking (bug #369323)
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-emulation/lxdream')
-rw-r--r--games-emulation/lxdream/lxdream-0.9.1-r2.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/games-emulation/lxdream/lxdream-0.9.1-r2.ebuild b/games-emulation/lxdream/lxdream-0.9.1-r2.ebuild
index 4147ddf51d7c..aa25c24c70af 100644
--- a/games-emulation/lxdream/lxdream-0.9.1-r2.ebuild
+++ b/games-emulation/lxdream/lxdream-0.9.1-r2.ebuild
@@ -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/"
@@ -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() {
@@ -57,7 +58,6 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${D}" install
- dodoc ChangeLog NEWS README
+ default
prepgamesdirs
}