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
commit4d3d01edb5eaf18ae0835c6367c3aeb518302e2b (patch)
tree209b677cd888dcea57b605674e1a6e70b771a002 /games-mud/tkmoo
parentAdded /etc/conf.d script for passing additional options. (diff)
downloadhistorical-4d3d01edb5eaf18ae0835c6367c3aeb518302e2b.tar.gz
historical-4d3d01edb5eaf18ae0835c6367c3aeb518302e2b.tar.bz2
historical-4d3d01edb5eaf18ae0835c6367c3aeb518302e2b.zip
add workaround patch for keys - patch from Luke-Jr via bug #74140
Diffstat (limited to 'games-mud/tkmoo')
-rw-r--r--games-mud/tkmoo/ChangeLog6
-rw-r--r--games-mud/tkmoo/Manifest7
-rw-r--r--games-mud/tkmoo/files/0.3.32-keys-workaround.patch13
-rw-r--r--games-mud/tkmoo/tkmoo-0.3.32.ebuild33
4 files changed, 39 insertions, 20 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/Manifest b/games-mud/tkmoo/Manifest
index 8aa6f3774f56..1b18e62e11ba 100644
--- a/games-mud/tkmoo/Manifest
+++ b/games-mud/tkmoo/Manifest
@@ -1,5 +1,6 @@
-MD5 fa624feba5a7c0109a5e96559fcc389b ChangeLog 2140
-MD5 9854f5a88b3504d2b013d231f16a2606 tkmoo-0.3.32.ebuild 1055
+MD5 bbf2c844023ecdcb052712759a1931f3 ChangeLog 2327
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 2431fc3d11f33db62dc52628d9b9c8ad files/digest-tkmoo-0.3.32 69
+MD5 ce15296b2e099241028a5d36f40c1f58 tkmoo-0.3.32.ebuild 1157
MD5 1a9eaa2f185e4ad7d0ec7228cbf13fba files/0.3.32-Makefile-noclean.patch 446
+MD5 2431fc3d11f33db62dc52628d9b9c8ad files/digest-tkmoo-0.3.32 69
+MD5 9b00a3feb4d183c5a11844dbd2fc821b files/0.3.32-keys-workaround.patch 378
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
}