On Tuesday 17 April 2007 17:58:27 Richard Marz wrote: > It is it possible to glob an entire subdirectory in package.use. I'm > trying to stop portage from using the doc flag when installing java > development suites. I tried adding the following to my package.use file: > dev-java/* -doc > Then ran `emerge -uD world` and it attempted to download the jdk doc > file which totally stopped the whole update process half-way because the > ebuild doesn't support that because of possible licensing issues. Is > there any globbing allowed in the package.use file.
Nope. That leaves you two options that I'm aware of: 1) Adding all packages currently in dev-java: # { echo "# disable doc for all packages in dev-java" && \ cd $(portageq portdir) && find dev-java -mindepth 1 -maxdepth 1 -type d | \ sed 's/$/ -doc/'; } >> /etc/portage/package.use 2) Switching to Paludis which does support wildcards (currently only in the -scm version): http://ciaranm.org/show_post/114 If you go with 2) make sure to read the Paludis docs and faq at paludis.org... -- Bo Andresen
signature.asc
Description: This is a digitally signed message part.