summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-12-19 22:52:11 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-12-19 22:52:11 +0000
commit46ca89b9eb9ba350e9cb394a8a19709a5a2d1e3c (patch)
tree9eb8e1172c62ee9c103c5cd389d533df2edb4e87 /games-simulation/gl117
parentBackport parallel-build disable change from upstream #156980. (diff)
downloadgentoo-2-46ca89b9eb9ba350e9cb394a8a19709a5a2d1e3c.tar.gz
gentoo-2-46ca89b9eb9ba350e9cb394a8a19709a5a2d1e3c.tar.bz2
gentoo-2-46ca89b9eb9ba350e9cb394a8a19709a5a2d1e3c.zip
built_with_use media-libs/sdl-mixer mikmod so lame
(Portage version: 2.1.1-r2)
Diffstat (limited to 'games-simulation/gl117')
-rw-r--r--games-simulation/gl117/gl117-1.3.2.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/games-simulation/gl117/gl117-1.3.2.ebuild b/games-simulation/gl117/gl117-1.3.2.ebuild
index 4274895dedcf..ac609bc74d95 100644
--- a/games-simulation/gl117/gl117-1.3.2.ebuild
+++ b/games-simulation/gl117/gl117-1.3.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/gl117/gl117-1.3.2.ebuild,v 1.5 2006/04/30 09:48:40 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/gl117/gl117-1.3.2.ebuild,v 1.6 2006/12/19 22:52:11 mr_bones_ Exp $
inherit eutils games
@@ -20,10 +20,17 @@ DEPEND="media-libs/libsdl
virtual/glu
virtual/glut"
-S="${WORKDIR}/${MY_P}"
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if ! built_with_use media-libs/sdl-mixer mikmod ; then
+ die "Please emerge sdl-mixer with USE=mikmod"
+ fi
+ games_pkg_setup
+}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog FAQ NEWS README
prepgamesdirs
}