summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-12-29 07:40:36 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-12-29 07:40:36 +0000
commit8f312d7ab7cfc0ee19b12c6b0f67a5e29e81e3bc (patch)
tree295af6af519e9b14b5f2f02c176cbea50f4b4f8e
parentAdded /etc/conf.d script for passing additional options. (Manifest recommit) (diff)
downloadgentoo-2-8f312d7ab7cfc0ee19b12c6b0f67a5e29e81e3bc.tar.gz
gentoo-2-8f312d7ab7cfc0ee19b12c6b0f67a5e29e81e3bc.tar.bz2
gentoo-2-8f312d7ab7cfc0ee19b12c6b0f67a5e29e81e3bc.zip
add workaround patch for keys - patch from Luke-Jr via bug #74140
-rw-r--r--games-mud/tkmoo/ChangeLog6
-rw-r--r--games-mud/tkmoo/files/0.3.32-keys-workaround.patch13
-rw-r--r--games-mud/tkmoo/tkmoo-0.3.32.ebuild33
3 files changed, 35 insertions, 17 deletions
diff --git a/games-mud/tkmoo/ChangeLog b/games-mud/tkmoo/ChangeLog
index f3e8e27fc842..b01ff5d91422 100644
--- a/games-mud/tkmoo/ChangeLog
+++ b/games-mud/tkmoo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-mud/tkmoo
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/tkmoo/ChangeLog,v 1.9 2004/12/28 23:10:23 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/tkmoo/ChangeLog,v 1.10 2004/12/29 07:40:36 mr_bones_ Exp $
+
+ 28 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/0.3.32-keys-workaround.patch, tkmoo-0.3.32.ebuild:
+ add workaround patch for keys - patch from Luke-Jr via bug #74140
28 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
diff --git a/games-mud/tkmoo/files/0.3.32-keys-workaround.patch b/games-mud/tkmoo/files/0.3.32-keys-workaround.patch
new file mode 100644
index 000000000000..d70e017f09e4
--- /dev/null
+++ b/games-mud/tkmoo/files/0.3.32-keys-workaround.patch
@@ -0,0 +1,13 @@
+--- source.tcl.orig 2004-12-28 23:36:47.000000000 -0800
++++ source.tcl 2004-12-28 23:37:09.000000000 -0800
+@@ -51,6 +51,10 @@
+ #
+ #
+
++tk::unsupported::ExposePrivateCommand tkTextSetCursor
++tk::unsupported::ExposePrivateCommand tkTextScrollPages
++tk::unsupported::ExposePrivateCommand tkTextInsert
++
+ proc db.set { id field val args } {
+ global db
+ if { $args == {} } {
diff --git a/games-mud/tkmoo/tkmoo-0.3.32.ebuild b/games-mud/tkmoo/tkmoo-0.3.32.ebuild
index 56c1133b76b1..4a94fb4fc94b 100644
--- a/games-mud/tkmoo/tkmoo-0.3.32.ebuild
+++ b/games-mud/tkmoo/tkmoo-0.3.32.ebuild
@@ -1,46 +1,47 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/tkmoo/tkmoo-0.3.32.ebuild,v 1.8 2004/11/05 05:33:09 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/tkmoo/tkmoo-0.3.32.ebuild,v 1.9 2004/12/29 07:40:36 mr_bones_ Exp $
-inherit games eutils
+inherit eutils games
MY_PN=${PN/moo/MOO-light}
MY_P=${P/moo/MOO-light}
-S=${WORKDIR}/${MY_P}
-
DESCRIPTION="MOO Client written in Tcl/Tk"
-SRC_URI="http://www.awns.com/tkMOO-light/Source/${MY_P}.tar.gz"
HOMEPAGE="http://www.awns.com/tkMOO-light/"
-IUSE=""
+SRC_URI="http://www.awns.com/tkMOO-light/Source/${MY_P}.tar.gz"
LICENSE="tkMOO"
SLOT="0"
KEYWORDS="x86 ~amd64 ~ppc"
+IUSE=""
DEPEND=">=dev-lang/tcl-8.3.3
>=dev-lang/tk-8.3.3"
+S="${WORKDIR}/${MY_P}"
+
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PV}-Makefile-noclean.patch
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}-Makefile-noclean.patch"
+ epatch "${FILESDIR}/${PV}-keys-workaround.patch"
}
src_compile() {
emake \
- WISH="`which wish`" \
- TKMOO_LIB_DIR=${GAMES_LIBDIR}/${MY_PN} \
- TKMOO_BIN_DIR=${GAMES_BINDIR} \
- || die
+ WISH="$(which wish)" \
+ TKMOO_LIB_DIR="${GAMES_LIBDIR}/${MY_PN}" \
+ TKMOO_BIN_DIR="${GAMES_BINDIR}" \
+ || die "emake failed"
}
src_install() {
make \
- TKMOO_LIB_DIR=${D}/${GAMES_LIBDIR}/${MY_PN} \
- TKMOO_BIN_DIR=${D}/${GAMES_BINDIR} \
+ TKMOO_LIB_DIR="${D}/${GAMES_LIBDIR}/${MY_PN}" \
+ TKMOO_BIN_DIR="${D}/${GAMES_BINDIR}" \
install \
- || die
+ || die "make install failed"
dodoc README INSTALL.unix dot.tkmoolightrc bugsmail.txt
- ln -s tkMOO-lite ${D}/${GAMES_BINDIR}/tkmoo
+ dosym tkMOO-lite "${GAMES_BINDIR}/tkmoo"
prepgamesdirs
}