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: Donnie Berkholz <dberkholz@g.o>
Subject: Re: Ideas for a (fast) EAPI=3
Date: Sun, 8 Mar 2009 10:01:05 -0700
On 16:48 Sun 08 Mar     , Ciaran McCreesh wrote:
> On Sun, 8 Mar 2009 09:42:29 -0700
> Donnie Berkholz <dberkholz@g.o> wrote:
> > - I understand the reasoning for the SRC_CONFIGURE_WITH blah stuff. I 
> > strongly oppose this implementation because it makes ebuilds less
> > like bash scripts that are easy to understand. Instead I suggest
> > extending use_with() and use_enable() to accept multiple sets of
> > arguments (alternately, making custom, similar functions that will
> > take multiple args).
> 
> How would that work? I can't see an obvious way of doing it that isn't
> more or less as verbose as just using multiple calls.

It would just eliminate all but one call to use_with(). Depending on how 
many you've got, this can shorten things up a fair bit. Here's an 
example:

	econf \
		$(use_with 'x X' 'foo libfoo' 'bar' 'python pygtk')
	econf \
		$(use_with x X) \
		$(use_with foo libfoo) \
		$(use_with bar) \
		$(use_with python pygtk)


-- 
Thanks,
Donnie

Donnie Berkholz
Developer, Gentoo Linux
Blog: http://dberkholz.wordpress.com
Attachment:
pgpHB0rjnjXb9.pgp (PGP signature)
Replies:
Re: Ideas for a (fast) EAPI=3
-- Tiziano Müller
Re: Ideas for a (fast) EAPI=3
-- Donnie Berkholz
Re: Ideas for a (fast) EAPI=3
-- William Hubbs
References:
Ideas for a (fast) EAPI=3
-- Tiziano Müller
Re: Ideas for a (fast) EAPI=3
-- Donnie Berkholz
Re: Ideas for a (fast) EAPI=3
-- Ciaran McCreesh
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Ideas for a (fast) EAPI=3
Next by thread:
Re: Ideas for a (fast) EAPI=3
Previous by date:
Re: Ideas for a (fast) EAPI=3
Next by date:
Re: Ideas for a (fast) EAPI=3


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

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