Even with USE="-cblas", I still get app-admin/eselect-cblas installed. The ebuilds do not tell me why this is the case, so if it is not an error in the ebuild, it should be documented in the ebuild.
There are two things that are source of misunderstanding: 1) sci-libs/gsl[-cblas] provides it's own implementation of cblas library [0], that's installed and can be used by other programs. Hence, the need for eselect-cblas. 2) you can link gsl with its internal implementation (-cblas) or external (cblas) like reference, atlas etc. USE flag "cblas" is used only to distinguish alternatives in 2) and is described as: +cblas :"Link gsl with external cblas provided by (virtual/cblas)" in metadata.xml What additional documentation in ebuild you have in mind? [0] http://www.gentoo.org/proj/en/science/blas-lapack.xml
We could probably solve this problem by changing the USE flag name. Some other packages name the flags accordingly: sys-fs/ntfs3g:external-fuse - Use external FUSE library instead of internal one. Must be disabled for unprivileged mounting to work. media-video/mplayer:external-ffmpeg - Use shared FFmpeg libraries instead of static bundled ones. Discouraged by upstream. dev-lang/php:java-external - Use the external java extension rather than the bundled one gd-external - Use the external version of gd rather than the bundled one (possibly dangerous) Something like this, perhaps: Index: metadata.xml =================================================================== RCS file: /var/cvsroot/gentoo-x86/sci-libs/gsl/metadata.xml,v retrieving revision 1.4 diff -u -B -r1.4 metadata.xml --- metadata.xml 19 Jan 2009 19:22:30 -0000 1.4 +++ metadata.xml 5 Aug 2010 15:51:04 -0000 @@ -16,7 +16,7 @@ functions, physical constants, and much more. </longdescription> <use> - <flag name='cblas'>Link gsl with external cblas provided by - (<pkg>virtual/cblas</pkg>)</flag> + <flag name='cblas-external'>Link gsl with external cblas provided by + (<pkg>virtual/cblas</pkg>) instead of shipped internal version</flag> </use> </pkgmetadata>
In tree, thanks! + 09 Aug 2010; Kacper Kowalik <xarthisius@gentoo.org> + -files/gsl-1.6-deps.diff, -files/gsl-1.12-cblas.patch, gsl-1.13-r1.ebuild, + gsl-1.13-r2.ebuild, gsl-1.14.ebuild, gsl-1.14-r1.ebuild, metadata.xml: + Renamed cblas to cblas-external wrt bug 330251. Dropped ~ppc-macos due to + unsolved deps. Remove old patches. +