summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-06-03 06:17:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-06-03 06:17:35 +0000
commitbb60f3c05825d8f87c5553ffb05fa9e7aaa29f14 (patch)
tree7498ad8db4fb72ee56314f08abfebe05ccdafa81 /games-action/heroes
parentclean in unpack; tidy (Manifest recommit) (diff)
downloadgentoo-2-bb60f3c05825d8f87c5553ffb05fa9e7aaa29f14.tar.gz
gentoo-2-bb60f3c05825d8f87c5553ffb05fa9e7aaa29f14.tar.bz2
gentoo-2-bb60f3c05825d8f87c5553ffb05fa9e7aaa29f14.zip
fix up use invocation
Diffstat (limited to 'games-action/heroes')
-rw-r--r--games-action/heroes/ChangeLog7
-rw-r--r--games-action/heroes/heroes-0.21.ebuild15
2 files changed, 13 insertions, 9 deletions
diff --git a/games-action/heroes/ChangeLog b/games-action/heroes/ChangeLog
index 46f84e52e9b4..77dd029eaab8 100644
--- a/games-action/heroes/ChangeLog
+++ b/games-action/heroes/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-action/heroes
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/heroes/ChangeLog,v 1.4 2003/11/04 22:27:00 weeve Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/heroes/ChangeLog,v 1.5 2004/06/03 06:17:35 mr_bones_ Exp $
+
+ 02 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> heroes-0.21.ebuild:
+ fix up use invocation
04 Nov 2003; Jason Wever <weeve@gentoo.org> heroes-0.21.ebuild:
Added ggi to IUSE, thanks to ciaranm from #gentoo-sparc for pointing it out.
diff --git a/games-action/heroes/heroes-0.21.ebuild b/games-action/heroes/heroes-0.21.ebuild
index 5532a1ad4bf3..d225d1664869 100644
--- a/games-action/heroes/heroes-0.21.ebuild
+++ b/games-action/heroes/heroes-0.21.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/heroes/heroes-0.21.ebuild,v 1.5 2004/03/14 18:26:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/heroes/heroes-0.21.ebuild,v 1.6 2004/06/03 06:17:35 mr_bones_ Exp $
inherit games
@@ -29,18 +29,19 @@ DEPEND="virtual/x11
sdl? ( media-libs/libsdl media-libs/sdl-mixer )
ggi? ( media-libs/libggi media-libs/libgii media-libs/libmikmod )"
-S=${WORKDIR}
+S="${WORKDIR}"
pkg_setup() {
- [ -z "`use sdl``use ggi`" ] \
- && die "You must have sdl or ggi in your USE variable" \
- || return 0
+ if use !sdl && use !ggi ; then
+ die "You must have sdl or ggi in your USE variable"
+ fi
+ return 0
}
src_compile() {
- local myconf="--disable-heroes-debug `use_enable nls`"
+ local myconf="--disable-heroes-debug $(use_enable nls)"
- if [ `use sdl` ] ; then
+ if use sdl ; then
myconf="${myconf} --with-sdl --with-sdl-mixer"
else
myconf="${myconf} --with-ggi --with-mikmod"