On Tue, 2006-01-24 at 17:27 +0100, Rene Zbinden wrote: > I am writing an ebuild for a program written in perl. This program has > the dependency of gnuplot but with the png flag enabled. What is the > gentoo way to enable this USE Flag for gnuplot when I emerge my program.
There is no way to automatically enable the flag, but you can use something like: built_with_use media-gfx/gnuplot png || die "This package requires that media-gfx/gnuplot is built with png support." In your pkg_setup section of the ebuild. Of course, more explanation is always welcome, such as explaining how package.use works or something similar. Once USE-based depends are in portage, this won't be a problem (and it is coming), but this is currently the only solution. -- Chris Gianelloni Release Engineering - Strategic Lead x86 Architecture Team Games - Developer Gentoo Linux
signature.asc
Description: This is a digitally signed message part