diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2006-11-05 02:16:27 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2006-11-05 02:16:27 +0000 |
commit | 1639a387ca28c004af2c318c621bd01ddda50528 (patch) | |
tree | 1c7d9a8e8820f305d39e73bd6456f2767e5ec9db /games-mud/gMOO/gMOO-0.4.8-r1.ebuild | |
parent | Keywording ~mips, test on swarm (diff) | |
download | gentoo-2-1639a387ca28c004af2c318c621bd01ddda50528.tar.gz gentoo-2-1639a387ca28c004af2c318c621bd01ddda50528.tar.bz2 gentoo-2-1639a387ca28c004af2c318c621bd01ddda50528.zip |
Change "tcltk" USE flag to "tcl", bug #17808
(Portage version: 2.1.2_rc1-r3)
Diffstat (limited to 'games-mud/gMOO/gMOO-0.4.8-r1.ebuild')
-rw-r--r-- | games-mud/gMOO/gMOO-0.4.8-r1.ebuild | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/games-mud/gMOO/gMOO-0.4.8-r1.ebuild b/games-mud/gMOO/gMOO-0.4.8-r1.ebuild index 3090a0e6ca29..189faa068515 100644 --- a/games-mud/gMOO/gMOO-0.4.8-r1.ebuild +++ b/games-mud/gMOO/gMOO-0.4.8-r1.ebuild @@ -1,41 +1,43 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-mud/gMOO/gMOO-0.4.8-r1.ebuild,v 1.11 2006/01/29 00:20:11 joshuabaergen Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-mud/gMOO/gMOO-0.4.8-r1.ebuild,v 1.12 2006/11/05 02:16:27 nyhm Exp $ + +inherit eutils DESCRIPTION="GTK+ Based MOO client" HOMEPAGE="http://www.nowmoo.demon.nl/" SRC_URI="http://www.nowmoo.demon.nl/packages/${P}.tar.bz2" -KEYWORDS="x86 ppc ~amd64" LICENSE="GPL-2" SLOT="0" -IUSE="nls tcltk" +KEYWORDS="~amd64 x86 ppc" +IUSE="nls tcl" -RDEPEND="virtual/libc - || ( x11-libs/libXi virtual/x11 ) +RDEPEND="x11-libs/libXi =x11-libs/gtk+-1.2* - tcltk? ( dev-lang/tcl )" + nls? ( virtual/libintl ) + tcl? ( dev-lang/tcl )" DEPEND="${RDEPEND} - >=sys-apps/sed-4" + nls? ( sys-devel/gettext )" src_unpack() { unpack ${A} - cd ${S} - use nls && patch -l -p0 <${FILESDIR}/gMOO.patch + cd "${S}" + use nls && epatch "${FILESDIR}"/gMOO.patch sed -i \ -e "s/-ltcl8.0/-ltcl/" configure \ - || die "sed configure failed" + || die "sed configure failed" } src_compile() { econf \ $(use_enable nls) \ - $(use_enable tcltk tcl) \ - || die "configure failed" + $(use_enable tcl) \ + || die emake || die "emake failed" } src_install() { - make DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install || die "emake install failed" dodoc README VERSION NEWS TODO ChangeLog || die "dodoc failed" } |