Gentoo Archives: gentoo-dev

From: Tim Harder <radhermit@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] ebuild laziness and binpkg overhead
Date: Wed, 13 Jun 2012 03:41:09
Message-Id: 20120613034009.GC23248@freyja
In Reply to: Re: [gentoo-dev] ebuild laziness and binpkg overhead by Michael Sterrett
On 2012-06-12 Tue 20:20, Michael Sterrett wrote:
> Calling "use" in global scope isn't allowed so what are you suggesting > they do instead?
Can't they just do something similar to how most cmake-utils and autotools-utils users do things? For example: src_configure() {    G2CONF="${G2CONF}        --disable-bash-completion        --disable-hal        --disable-schemas-compile        --with-dbus-service-dir=/usr/share/dbus-1/services        $(use_enable afp)        $(use_enable archive)        $(use_enable avahi)        $(use_enable bluetooth obexftp)        $(use_enable bluray)        $(use_enable cdda)        $(use_enable fuse)        $(use_enable gdu)        $(use_enable gphoto2)        $(use_enable ios afc)        $(use_enable udev)        $(use_enable udev gudev)        $(use_enable http)        $(use_enable gnome-keyring keyring)        $(use_enable samba)" gnome2_src_configure } Seems like that should work fine. Tim