The ebuild shouldn't be dying in pkg_setup(), instead it should enable the necessary flags by itself. http://devmanual.gentoo.org/general-concepts/use-flags/index.html: "Occasionally, ebuilds will have conflicting USE flags for functionality. Checking for them and returning an error is not a viable solution. Instead, you must pick one of the USE flags in conflict to favour." if use audiofile && ! use oss; then die "USE=\"audiofile\" requires USE=\"oss\"" fi if use theora && ! use dcc_video; then die "USE=\"theora\" requires USE=\"dcc_video\"" fi
Index: kvirc-4.2_pre5816.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-irc/kvirc/kvirc-4.2_pre5816.ebuild,v retrieving revision 1.3 diff -u -b -B -u -r1.3 kvirc-4.2_pre5816.ebuild --- kvirc-4.2_pre5816.ebuild 19 Jun 2011 13:51:54 -0000 1.3 +++ kvirc-4.2_pre5816.ebuild 3 Feb 2012 22:44:47 -0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/kvirc-4.2_pre5816.ebuild,v 1.3 2011/06/19 13:51:54 maekke Exp $ -EAPI="3" +EAPI="4" PYTHON_DEPEND="python? 2" inherit cmake-utils multilib python @@ -44,15 +44,9 @@ DOCS="ChangeLog doc/FAQ" -pkg_setup() { - if use audiofile && ! use oss; then - die "USE=\"audiofile\" requires USE=\"oss\"" - fi - - if use theora && ! use dcc_video; then - die "USE=\"theora\" requires USE=\"dcc_video\"" - fi +REQUIRED_USE="audiofile? ( oss ) theora? ( dcc_video )" +pkg_setup() { if use python; then python_set_active_version 2 python_pkg_setup Proposed patch. ETA 2 days
Fixed