summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-24 05:16:09 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-24 05:16:09 +0000
commit5a743872b33758a5fea26f98dca18b2a0ef94900 (patch)
tree202e66ae2c98eae19b72c08f5c02bf0ef33dedb0 /games-mud
parentdon't rdepend on sed (Manifest recommit) (diff)
downloadgentoo-2-5a743872b33758a5fea26f98dca18b2a0ef94900.tar.gz
gentoo-2-5a743872b33758a5fea26f98dca18b2a0ef94900.tar.bz2
gentoo-2-5a743872b33758a5fea26f98dca18b2a0ef94900.zip
don't rdepend on sed; error check sed; use dogamesbin
Diffstat (limited to 'games-mud')
-rw-r--r--games-mud/ytin/ChangeLog7
-rw-r--r--games-mud/ytin/ytin-1.83.5.ebuild18
2 files changed, 17 insertions, 8 deletions
diff --git a/games-mud/ytin/ChangeLog b/games-mud/ytin/ChangeLog
index 7534e97c7db6..047bd2c18341 100644
--- a/games-mud/ytin/ChangeLog
+++ b/games-mud/ytin/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-mud/ytin
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/ytin/ChangeLog,v 1.3 2004/03/19 09:55:05 aliz Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-mud/ytin/ChangeLog,v 1.4 2004/03/24 05:16:09 mr_bones_ Exp $
+
+ 23 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> ytin-1.83.5.ebuild:
+ don't rdepend on sed; error check sed; use dogamesbin
02 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> ytin-1.83.5.ebuild:
Fixed to use mirror://sourceforge
diff --git a/games-mud/ytin/ytin-1.83.5.ebuild b/games-mud/ytin/ytin-1.83.5.ebuild
index 1c7aa0ad014f..0daaa0517fd8 100644
--- a/games-mud/ytin/ytin-1.83.5.ebuild
+++ b/games-mud/ytin/ytin-1.83.5.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-mud/ytin/ytin-1.83.5.ebuild,v 1.2 2004/02/20 06:45:14 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/ytin/ytin-1.83.5.ebuild,v 1.3 2004/03/24 05:16:09 mr_bones_ Exp $
inherit games
@@ -12,17 +12,23 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
-DEPEND="sys-libs/ncurses
+RDEPEND="virtual/glibc
+ sys-libs/ncurses"
+DEPEND="${RDEPEND}
>=sys-apps/sed-4"
-S=${WORKDIR}/${PN}
+S="${WORKDIR}/${PN}"
src_unpack() {
unpack ${A}
cd ${S}
- sed -i 's:extern int errno;::' utils.cpp
+ sed -i \
+ -e 's:extern int errno;::' utils.cpp \
+ || die "sed utils.cpp failed"
echo '#include <errno.h>' >> tintin.h
- sed -i '/^LIBS = /s:=:= -lstdc++ :' Makefile.in
+ sed -i \
+ -e '/^LIBS = /s:=:= -lstdc++ :' Makefile.in \
+ || die "sed Makefile.in failed"
}
src_compile() {
@@ -31,7 +37,7 @@ src_compile() {
}
src_install() {
- dobin tt++ || die
+ dogamesbin tt++ || die
dodoc ChangeLog README.1st docs/*.txt
prepgamesdirs
}