Matias Grana schreef: > On Mon, Oct 17, 2005 at 08:28:54PM +0100, Ciaran McCreesh wrote: > >> On Mon, 17 Oct 2005 11:19:55 -0300 Matias Grana <[EMAIL PROTECTED]> >> wrote: | I'm trying to compile vim with +clipboard support. One >> can do this | by passing --enable-clipboard to configure. There's >> no USE flag for | this feature. >> >> Incorrect. USE="vim-with-x". >> >> -- Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, >> Cron) Mail : ciaranm at gentoo.org Web : >> http://dev.gentoo.org/~ciaranm >> > > > Nicer! So this is what vim-with-x stand for! I saw the flag, but > thought that it would pull down gvim, which I already have in my > world. Now: this pops up a second question: where can we see the > exact efect of USE flags on packages? For instance: what other > features 'vim-with-x' will enable?
USE flag descriptions can be found in /usr/portage/profiles. There are two files: /usr/portage/profiles/use.desc (for global USE flags), and /usr/portage/profiles/use.local.desc (for local USE flags relevant to individual packages). You can of course search/grep normally through these files, but I find it easier to nick an alias that someone on the list provided, and add it to ~/.bashrc: alias useflag='grep /usr/portage/profiles/use.*desc -e' which enables me to do this (after re-sourcing ~/.bashrc, which I also have an alias to do :-) ): di 10/18/05 15:39 ~ motub-> useflag vim-with-x /usr/portage/profiles/use.local.desc:app-editors/vim:vim-with-x - Linking console vim against X11 libraries to enable title and clipboard features in xterm And now I know what it does, instead of guessing ;-) . Hope this helps Holly -- gentoo-user@gentoo.org mailing list