public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Vaeth <vaeth@mathematik.uni-wuerzburg.de>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] Ability to pass arguments to src_configure/src_compile
Date: Mon, 8 Sep 2008 13:56:14 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0809081348530.8396@wmax001.mathematik.uni-wuerzburg.de> (raw)
In-Reply-To: <b9KBD-2uE-1@gated-at.bofh.it>

Santiago M. Mola wrote:
> Vaeth <vaeth@mathematik.uni-wuerzburg.de> wrote:
> >
> > [...] The suggestion violates in an extreme way the golden design
> > rule that small changes in effect should require small changes in source.
[...]

> Yes, you're right. That would  be really tedious and stupid... but
> we're lucky, and EAPI-2 introduced the 'default' function. So if you
> need to do a small change not covered by this method, you just define
> the phase, make the little change, and then call the 'default'
> function. Clean and simple.

How does this "little change" look like if you have to call ./autogen.sh
instead of ./configure?  Or if you want to call a second ./configure
in some subdirectory with the same options but one option changed?

These are just some examples, I hope that the point becomes clear:
You simply cannot cover all natural modifications which might be
necessary unless you really can access the commands themselves;
and for this reason it is wise IMHO to have default functions which are
as short as possible (and which are in particular not dealing with
complex implicit array arguments).



       reply	other threads:[~2008-09-08 11:56 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <b9JFB-1eE-13@gated-at.bofh.it>
     [not found] ` <b9JFB-1eE-15@gated-at.bofh.it>
     [not found]   ` <b9JFB-1eE-17@gated-at.bofh.it>
     [not found]     ` <b9JFC-1eE-19@gated-at.bofh.it>
     [not found]       ` <b9JFC-1eE-21@gated-at.bofh.it>
     [not found]         ` <b9JFB-1eE-11@gated-at.bofh.it>
     [not found]           ` <b9KBD-2uE-1@gated-at.bofh.it>
2008-09-08 11:56             ` Vaeth [this message]
2008-09-08 12:10               ` [gentoo-dev] [RFC] Ability to pass arguments to src_configure/src_compile Santiago M. Mola
     [not found]         ` <b9JYY-1P6-19@gated-at.bofh.it>
     [not found]           ` <b9JYY-1P6-21@gated-at.bofh.it>
     [not found]             ` <b9JYY-1P6-23@gated-at.bofh.it>
     [not found]               ` <b9JYX-1P6-17@gated-at.bofh.it>
     [not found]                 ` <b9KBK-2uE-31@gated-at.bofh.it>
2008-09-08 12:46                   ` Vaeth
2008-09-08 22:38                     ` [gentoo-dev] " Steve Long
     [not found] <b9uwZ-6YY-23@gated-at.bofh.it>
     [not found] ` <b9uwZ-6YY-25@gated-at.bofh.it>
     [not found]   ` <b9ux0-6YY-27@gated-at.bofh.it>
     [not found]     ` <b9uwZ-6YY-21@gated-at.bofh.it>
     [not found]       ` <b9uGz-79d-7@gated-at.bofh.it>
2008-09-08  7:48         ` [gentoo-dev] " Vaeth
2008-09-08  8:02           ` David Leverton
2008-09-08  8:40           ` Santiago M. Mola
     [not found]         ` <b9vCE-8mw-21@gated-at.bofh.it>
     [not found]           ` <b9vMy-8ws-33@gated-at.bofh.it>
     [not found]             ` <b9w5F-FY-5@gated-at.bofh.it>
2008-09-08  8:07               ` Vaeth
2008-09-08  8:44                 ` Alec Warner
2008-09-08  8:58                   ` Santiago M. Mola
2008-09-08  9:31                     ` Alec Warner
2008-09-08  9:40                     ` Mike Auty
     [not found] <b99LY-5lh-39@gated-at.bofh.it>
     [not found] ` <b9bkA-7sM-7@gated-at.bofh.it>
     [not found]   ` <b9cqk-nW-9@gated-at.bofh.it>
2008-09-07 15:31     ` Vaeth
2008-09-07 15:40       ` Ciaran McCreesh
2008-09-07 16:46         ` Marcus D. Hanwell
2008-09-07 16:50           ` Ciaran McCreesh
2008-09-07 17:11             ` Santiago M. Mola
2008-09-08 19:05             ` Luca Barbato
2008-09-08 21:33           ` Donnie Berkholz
2008-09-08 22:13             ` Ciaran McCreesh
2008-09-08 23:03               ` Donnie Berkholz
2008-09-08 23:31                 ` Alec Warner
2008-09-12 17:36             ` Arun Raghavan
2008-09-06 17:36 Thomas Anderson
2008-09-06 19:00 ` Alec Warner
2008-09-06 19:01   ` Alec Warner
2008-09-06 20:10   ` Santiago M. Mola
2008-09-06 20:10   ` Ben de Groot
2008-09-06 20:45     ` Santiago M. Mola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0809081348530.8396@wmax001.mathematik.uni-wuerzburg.de \
    --to=vaeth@mathematik.uni-wuerzburg.de \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox