--- vinagre-0.4.ebuild 2008-01-30 09:49:09.152261234 +0530 +++ vinagre-0.4.ebuild 2008-01-30 10:43:47.000000000 +0530 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit gnome2 +inherit gnome2 eutils DESCRIPTION="VNC Client for the GNOME Desktop" HOMEPAGE="http://www.gnome.org/projects/vinagre/" @@ -29,6 +29,12 @@ pkg_setup() { G2CONF="${G2CONF} $(use_enable avahi)" + + local fail="Re-emerge net-dns/avahi with USE gtk." + if use avahi && ! built_with_use net-dns/avahi gtk; then + eerror "${fail}" + die "${fail}" + fi } src_install() {