summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-04 02:24:52 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-04 02:24:52 +0000
commit851fc9d63557cdb9816e7ea32234f5d68c1ea098 (patch)
tree277881537422ed3c7bbf04e98ba84c6b2c3ef334 /games-emulation/dosbox/dosbox-0.72.ebuild
parentRespecting CC variable see bug #244036 (diff)
downloadhistorical-851fc9d63557cdb9816e7ea32234f5d68c1ea098.tar.gz
historical-851fc9d63557cdb9816e7ea32234f5d68c1ea098.tar.bz2
historical-851fc9d63557cdb9816e7ea32234f5d68c1ea098.zip
use EAPI=2
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27.8 i686
Diffstat (limited to 'games-emulation/dosbox/dosbox-0.72.ebuild')
-rw-r--r--games-emulation/dosbox/dosbox-0.72.ebuild19
1 files changed, 5 insertions, 14 deletions
diff --git a/games-emulation/dosbox/dosbox-0.72.ebuild b/games-emulation/dosbox/dosbox-0.72.ebuild
index 35e4a73ba797..2d92dedfa961 100644
--- a/games-emulation/dosbox/dosbox-0.72.ebuild
+++ b/games-emulation/dosbox/dosbox-0.72.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/dosbox-0.72.ebuild,v 1.6 2008/06/13 16:34:56 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/dosbox-0.72.ebuild,v 1.7 2009/01/04 02:24:52 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="DOS emulator"
@@ -13,7 +14,7 @@ SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 ~sparc x86"
IUSE="alsa debug hardened opengl"
-DEPEND="alsa? ( media-libs/alsa-lib )
+DEPEND="alsa? ( media-libs/alsa-lib[midi] )
opengl? ( virtual/opengl )
debug? ( sys-libs/ncurses )
media-libs/libpng
@@ -21,15 +22,6 @@ DEPEND="alsa? ( media-libs/alsa-lib )
media-libs/sdl-net
media-libs/sdl-sound"
-pkg_setup() {
- if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
- eerror "To be able to build dosbox with ALSA support you need"
- eerror "to have built media-libs/alsa-lib with midi USE flag."
- die "Missing midi USE flag on media-libs/alsa-lib"
- fi
- games_pkg_setup
-}
-
src_unpack() {
unpack ${A}
cd "${S}"
@@ -37,7 +29,7 @@ src_unpack() {
epatch "${FILESDIR}/${P}+gcc-4.3.patch"
}
-src_compile() {
+src_configure() {
egamesconf \
--disable-dependency-tracking \
$(use_enable alsa alsa-midi) \
@@ -45,7 +37,6 @@ src_compile() {
$(use_enable debug) \
$(use_enable opengl) \
|| die
- emake || die "emake failed"
}
src_install() {