From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KcfZE-0000H0-Qc for garchives@archives.gentoo.org; Mon, 08 Sep 2008 12:10:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D84DE01FA; Mon, 8 Sep 2008 12:10:03 +0000 (UTC) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.234]) by pigeon.gentoo.org (Postfix) with ESMTP id F370FE01FA for ; Mon, 8 Sep 2008 12:10:02 +0000 (UTC) Received: by wr-out-0506.google.com with SMTP id c37so1510908wra.26 for ; Mon, 08 Sep 2008 05:10:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=Xekr45+wVcnNnpd7uXcTlYbrmEqy9nm9V3gTWmvuNSA=; b=NwBXkKnoxK15Av2VBMdEhA/1fFo0/FW0VNCslZgCZWHEz6Vb5Uk+i63tD/QyZr1aBW uZwlv3Tmg2j+Lm1PHsHXYdOpTlLi0yQiDgPP+qJtso2jiA1IgG+AzQHO6U0AdyoQ/mTn V9SSsS7CpCIIGxNye4fADYD1DgxMGLdWyppAM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=C0O0eZmAiAWHOjZ0/NS4aK/laFNOTAbNEUoZzDptNHcTYGb1pKsjJXdrBWhZq5pdpt 9n7OOW1ogO84lAGDVFKlu7vb9hF0K8GIoBSMokWEW3lcwxrlEYT2hRdI43QHCTqWNzp0 b+7eu/3vHBTnoHGOd7OqixG/LOoghZ2ksB2EI= Received: by 10.90.31.8 with SMTP id e8mr19123905age.68.1220875801966; Mon, 08 Sep 2008 05:10:01 -0700 (PDT) Received: by 10.90.49.6 with HTTP; Mon, 8 Sep 2008 05:10:01 -0700 (PDT) Message-ID: <3c32af40809080510t611ad73eq6a7cfc2e962b8c8b@mail.gmail.com> Date: Mon, 8 Sep 2008 14:10:01 +0200 From: "Santiago M. Mola" Sender: cooldwind@gmail.com To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [RFC] Ability to pass arguments to src_configure/src_compile In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 10b49834c7ad4008 X-Archives-Salt: 94337642-d215-4162-b4ee-d0e1f5424dd6 X-Archives-Hash: 25ebf2af058d2567405f41f47910c464 On Mon, Sep 8, 2008 at 1:56 PM, Vaeth wrote: > Santiago M. Mola wrote: >> Vaeth 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? Most of the time you don't call autogen.sh, but eautoreconf. And when you have to call ./autogen.sh you usually do it in src_unpack (or src_prepare if it's introduced in EAPI-2). > Or if you want to call a second ./configure > in some subdirectory with the same options but one option changed? This is not a "small change" that happens on any package too often (if ever). For such cases you can define a custom src_configure/src_compile which fits your needs. > > 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; You can access the commands themselves,I think no one said ever in this thread that use_with, use_enable or econf are going to be deprecated. Regards, -- Santiago M. Mola Jabber ID: cooldwind@gmail.com