The current wordnet ebuild depends on TCL/TK packages. However, I believe it should be optionally compiled with such support by means of the "tcltk" use flag, since WordNet is perfectly usable through its command line interface and API. Reproducible: Always Steps to Reproduce: 1. emerge app-dicts/wordnet Actual Results: The TCL/TK were installed, inspite of my "-tcltk" USE flag. Expected Results: Not installed TCL/TK if the USE flags specified not to. I've modified the current ebuild using the patch below. It worked for me, though I'm not sure it follows Gentoo guidelines. ------------- 8< -------------- --- wordnet-2.0-r1.patched.ebuild 2004-08-13 17:03:07.000000000 -0300 +++ wordnet-2.0-r1.ebuild 2004-08-13 17:03:41.000000000 -0300 @@ -7,14 +7,10 @@ DESCRIPTION="WordNet : a lexical database for the English language" HOMEPAGE="http://www.cogsci.princeton.edu/~wn/" SRC_URI="ftp://ftp.cogsci.princeton.edu/pub/wordnet/${PV}/WordNet-${PV}.tar.gz" -IUSE="tcltk" -DEPEND="tcltk? - ( - dev-lang/tcl - dev-lang/tk - )" +DEPEND="tcl tk" LICENSE="Princeton" SLOT="0" +IUSE="" KEYWORDS="~x86 ~ppc" S=${WORKDIR}/WordNet-${PV}
Created attachment 41142 [details, diff] wordnet-2.0.ebuild.diff This is more simple one. (dev-lang/tk depends on dev-lang/tcl)
INSTALL snip: 4. Compiling the WordNet Source Code This version of the WordNet window-based browser is written in Tcl/Tk. If you want to compile the browser on your system, you must have the Tcl/TK 8 libraries installed on your system. Read the file README.tcltk for information about Tcl/Tk.
*** Bug 130022 has been marked as a duplicate of this bug. ***