summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-31 04:00:44 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-31 04:00:44 +0000
commit3c4432c3aee27a4b2a35bf1db2edc8be8c3162d4 (patch)
treef2cfde483d453232c9377d0a91cd50e596f10736 /games-puzzle/quadra
parentkludge tcl support; virtual/x11; use emake/econf/use_enable; use bz2 source (... (diff)
downloadgentoo-2-3c4432c3aee27a4b2a35bf1db2edc8be8c3162d4.tar.gz
gentoo-2-3c4432c3aee27a4b2a35bf1db2edc8be8c3162d4.tar.bz2
gentoo-2-3c4432c3aee27a4b2a35bf1db2edc8be8c3162d4.zip
virtual/x11; depend on sed >= 4; error check sed
Diffstat (limited to 'games-puzzle/quadra')
-rw-r--r--games-puzzle/quadra/ChangeLog5
-rw-r--r--games-puzzle/quadra/quadra-1.1.8.ebuild16
2 files changed, 14 insertions, 7 deletions
diff --git a/games-puzzle/quadra/ChangeLog b/games-puzzle/quadra/ChangeLog
index 6b2d27d2b2e3..abbb546fe6b1 100644
--- a/games-puzzle/quadra/ChangeLog
+++ b/games-puzzle/quadra/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-puzzle/quadra
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/quadra/ChangeLog,v 1.4 2004/01/27 09:26:03 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/quadra/ChangeLog,v 1.5 2004/03/31 04:00:44 mr_bones_ Exp $
+
+ 30 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> quadra-1.1.8.ebuild:
+ virtual/x11; depend on sed >= 4; error check sed
27 Jan 2004; Michael Sterrett <mr_bones_@gentoo.org> quadra-1.1.8.ebuild:
remove incorrectly named patch attempt
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() {