Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Tim Harder <radhermit@g.o>
Subject: Re: ebuild laziness and binpkg overhead
Date: Tue, 12 Jun 2012 20:40:09 -0700
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
Attachment:
pgppJPH0r3vz8.pgp (PGP signature)
References:
ebuild laziness and binpkg overhead
-- Mike Frysinger
Re: ebuild laziness and binpkg overhead
-- Michael Sterrett
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: ebuild laziness and binpkg overhead
Next by thread:
Re: ebuild laziness and binpkg overhead
Previous by date:
Re: ebuild laziness and binpkg overhead
Next by date:
Re: ebuild laziness and binpkg overhead


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.