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 "active" way, you could only check if the flag was enabled,
and fail if it was not, take this example from app-admin/moodss
============
pkg_setup() {
if ! built_with_use dev-lang/tcl threads ; then
eerror "Tcl is missing threads support."
eerror "Please add 'threads' to your USE flags, and re-emerge tcl."
die "tcl needs threads support"
fi
}
============
--
[email protected] mailing list