summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-29 09:41:39 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-29 09:41:39 +0000
commit8a17623bb0462d2955a699486170617de1beccc7 (patch)
tree434a0089a7738659e1bc75e9cea485e52b2caefa /games-arcade/rocksndiamonds
parentmake it stable baby (diff)
downloadgentoo-2-8a17623bb0462d2955a699486170617de1beccc7.tar.gz
gentoo-2-8a17623bb0462d2955a699486170617de1beccc7.tar.bz2
gentoo-2-8a17623bb0462d2955a699486170617de1beccc7.zip
make it stable baby
Diffstat (limited to 'games-arcade/rocksndiamonds')
-rw-r--r--games-arcade/rocksndiamonds/rocksndiamonds-3.0.6.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/games-arcade/rocksndiamonds/rocksndiamonds-3.0.6.ebuild b/games-arcade/rocksndiamonds/rocksndiamonds-3.0.6.ebuild
index 2a28a88dcb63..f498f8256c31 100644
--- a/games-arcade/rocksndiamonds/rocksndiamonds-3.0.6.ebuild
+++ b/games-arcade/rocksndiamonds/rocksndiamonds-3.0.6.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-arcade/rocksndiamonds/rocksndiamonds-3.0.6.ebuild,v 1.2 2004/01/06 02:28:31 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/rocksndiamonds-3.0.6.ebuild,v 1.3 2004/02/29 09:41:39 vapier Exp $
inherit games flag-o-matic
@@ -10,7 +10,7 @@ SRC_URI="http://www.artsoft.org/RELEASES/unix/rocksndiamonds/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~amd64"
+KEYWORDS="x86 amd64"
DEPEND="X? ( virtual/x11 )
sdl? ( >=media-libs/libsdl-1.2.3
@@ -22,12 +22,12 @@ src_compile() {
replace-flags -march=k6 -march=i586
local makeopts="RO_GAME_DIR=${GAMES_DATADIR}/${PN} RW_GAME_DIR=${GAMES_STATEDIR}/${PN}"
- if [ `use X` ] || [ -z "`use X``use sdl`" ] ; then
+ if use X || { ! use X && ! use sdl; } ; then
make clean || die
make ${makeopts} OPTIONS="${CFLAGS}" x11 || die
mv rocksndiamonds{,.x11}
fi
- if [ `use sdl` ] ; then
+ if use sdl ; then
make clean || die
make ${makeopts} OPTIONS="${CFLAGS}" sdl || die
mv rocksndiamonds{,.sdl}