From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 33415138010 for ; Wed, 12 Sep 2012 09:18:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EDBF921C02F; Wed, 12 Sep 2012 09:18:18 +0000 (UTC) Received: from malth.us (malth.us [75.147.143.249]) by pigeon.gentoo.org (Postfix) with ESMTP id 55A8D21C017 for ; Wed, 12 Sep 2012 09:16:54 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by malth.us (Postfix) with ESMTP id B413F40CA4E8 for ; Wed, 12 Sep 2012 02:16:48 -0700 (PDT) X-Virus-Scanned: amavisd-new at malth.us Received: from malth.us ([127.0.0.1]) by localhost (malth.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D1Tgz32WLzVG for ; Wed, 12 Sep 2012 02:16:35 -0700 (PDT) Received: from [192.168.0.175] (moneypit.hq [192.168.0.175]) by malth.us (Postfix) with ESMTPSA id B8FE840CB671 for ; Wed, 12 Sep 2012 02:16:35 -0700 (PDT) Message-ID: <505052F3.8090300@malth.us> Date: Wed, 12 Sep 2012 02:16:35 -0700 From: "Gregory M. Turner" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: News item 1: changes to stages (make.conf and make.profile) References: <50481E1A.1040602@gentoo.org> <504CF86B.7020507@gentoo.org> <504D10CA.4050106@gentoo.org> <504D4391.1060704@gentoo.org> <504EB031.7010807@malth.us> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 2700c601-c8e2-4206-81f2-6f846da446fa X-Archives-Hash: a08f977cd62216b868d6f85b88fbc66b On 9/10/2012 10:39 PM, Duncan wrote: > Gregory M. Turner posted on Mon, 10 Sep 2012 20:29:53 -0700 as excerpted: > >> However, IIRC, /etc/make.conf is just ignored by portage if >> /etc/portage/make.conf is present, so symlinking, or even better, if >> possible, hardlinking those files would probably "do the right thing" >> for legacy tools that don't know about the new location... unless I'm >> mistaken, which is always plausible :) > > Thanks. Reasonable approach and good to know. Well, I did warn about the likelihood I was wrong :) Pretty clever 'cause that way even when I'm wrong (as turns out to have been the case), I'm still right :P In all seriousness, if both of them are sourced, then could one get away with something like this? /etc/make.conf: source /etc/portage/make.conf /etc/portage/make.conf: if [[ __GENTOO_MAKE_CONF_ONCE == gotit ]] ; then __GENTOO_MAKE_CONF_ONCE=gotit . . . endif or are conditionals disallowed? As Zac mentions, hopefully it's harmless to duplicate things, but, personally, I would worry about the effect of duplicates on performance, and also in PORTDIR_OVERLAY. Plus, it just seems dirty. -gmt