summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/quadra/quadra-1.1.8.ebuild')
-rw-r--r--games-puzzle/quadra/quadra-1.1.8.ebuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/games-puzzle/quadra/quadra-1.1.8.ebuild b/games-puzzle/quadra/quadra-1.1.8.ebuild
index b2ab38653a6e..ecca0bb6e2b8 100644
--- a/games-puzzle/quadra/quadra-1.1.8.ebuild
+++ b/games-puzzle/quadra/quadra-1.1.8.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/quadra/quadra-1.1.8.ebuild,v 1.3 2004/01/27 09:26:03 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/quadra/quadra-1.1.8.ebuild,v 1.4 2004/03/31 04:00:44 mr_bones_ Exp $
-inherit games eutils gcc
+inherit eutils gcc games
DESCRIPTION="A tetris clone with multiplayer support"
HOMEPAGE="http://quadra.sourceforge.net/"
@@ -13,21 +13,25 @@ SLOT="0"
KEYWORDS="x86"
IUSE="svga"
-DEPEND=">=x11-base/xfree-4.1.0
+RDEPEND="virtual/x11
>=media-libs/libpng-1.2.1
sys-libs/zlib
svga? ( media-libs/svgalib )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd ${S}
[ `gcc-major-version` == 3 ] && epatch ${FILESDIR}/${P}-gcc3.patch
epatch ${FILESDIR}/libpng-1.2.5.patch
- sed -i 's:-pedantic::' config/vars.mk
+ sed -i \
+ -e 's:-pedantic::' config/vars.mk \
+ || die "sed config/vars.mk failed"
sed -i \
-e "/^libgamesdir:=/s:/games:/${PN}:" \
- -e "/^datagamesdir:=/s:/games:/${PN}:" \
- config/config.mk.in
+ -e "/^datagamesdir:=/s:/games:/${PN}:" config/config.mk.in \
+ || die "sed config/config.mk.in failed"
}
src_compile() {