summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-12 06:19:29 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-12 06:19:29 +0000
commit9bf0e9cb65f698b0f33dccd44e016ad7533ef441 (patch)
tree3ef7f91ce395e29034068215343c05e9739bdeeb /games-puzzle/enigma
parentCleanup old versions (diff)
downloadgentoo-2-9bf0e9cb65f698b0f33dccd44e016ad7533ef441.tar.gz
gentoo-2-9bf0e9cb65f698b0f33dccd44e016ad7533ef441.tar.bz2
gentoo-2-9bf0e9cb65f698b0f33dccd44e016ad7533ef441.zip
EAPI=2; add use-based dep for media-libs/sdl-image (bug #206393)
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
Diffstat (limited to 'games-puzzle/enigma')
-rw-r--r--games-puzzle/enigma/ChangeLog5
-rw-r--r--games-puzzle/enigma/enigma-1.01.ebuild12
2 files changed, 9 insertions, 8 deletions
diff --git a/games-puzzle/enigma/ChangeLog b/games-puzzle/enigma/ChangeLog
index 3803bb6310c1..cdb8cc7b9d9b 100644
--- a/games-puzzle/enigma/ChangeLog
+++ b/games-puzzle/enigma/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-puzzle/enigma
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/ChangeLog,v 1.42 2009/01/01 15:58:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/ChangeLog,v 1.43 2009/01/12 06:19:29 mr_bones_ Exp $
+
+ 12 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> enigma-1.01.ebuild:
+ EAPI=2; add use-based dep for media-libs/sdl-image (bug #206393)
01 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org>
files/enigma-1.01-xerces-c.patch, enigma-1.01.ebuild:
diff --git a/games-puzzle/enigma/enigma-1.01.ebuild b/games-puzzle/enigma/enigma-1.01.ebuild
index d986d63869a7..dc3e049f4b3c 100644
--- a/games-puzzle/enigma/enigma-1.01.ebuild
+++ b/games-puzzle/enigma/enigma-1.01.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/enigma-1.01.ebuild,v 1.9 2009/01/01 15:58:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/enigma-1.01.ebuild,v 1.10 2009/01/12 06:19:29 mr_bones_ Exp $
+EAPI=2
inherit autotools eutils games
DESCRIPTION="puzzle game similar to Oxyd"
@@ -16,7 +17,7 @@ IUSE="nls"
RDEPEND="media-libs/sdl-ttf
media-libs/libsdl
media-libs/sdl-mixer
- media-libs/sdl-image
+ media-libs/sdl-image[png]
media-libs/libpng
>=dev-libs/xerces-c-3
net-libs/enet
@@ -24,9 +25,7 @@ RDEPEND="media-libs/sdl-ttf
DEPEND="${RDEPEND}
sys-devel/gettext"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
cp /usr/share/gettext/config.rpath .
epatch \
"${FILESDIR}"/${P}-autotools.patch \
@@ -35,12 +34,11 @@ src_unpack() {
eautoreconf
}
-src_compile() {
+src_configure() {
egamesconf \
--disable-dependency-tracking \
$(use_enable nls) \
|| die
- emake || die "emake failed"
}
src_install() {