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 56C2E1381F3 for ; Sun, 14 Apr 2013 21:02:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41CF9E0ACD; Sun, 14 Apr 2013 21:02:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4CAE6E0A98 for ; Sun, 14 Apr 2013 21:02:34 +0000 (UTC) Received: from [192.168.26.5] (ip98-164-195-43.oc.oc.cox.net [98.164.195.43]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 1F6A833DCED; Sun, 14 Apr 2013 21:02:31 +0000 (UTC) Message-ID: <516B1964.6090102@gentoo.org> Date: Sun, 14 Apr 2013 14:02:28 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.4 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 CC: Pacho Ramos , dotnet@gentoo.org Subject: Re: [gentoo-dev] mono-env.eclass: new eclass to be used by most of dotnet packages References: <1365932403.6940.8.camel@localhost> <20130414114557.429f7c55@pomiocik.lan> <1365933554.6940.9.camel@localhost> In-Reply-To: <1365933554.6940.9.camel@localhost> X-Enigmail-Version: 1.6a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 96f190da-cfbf-403a-bc75-b7e7d6e9d981 X-Archives-Hash: e87a29f9b427f4fcfae67cb2acc23f57 On 04/14/2013 02:59 AM, Pacho Ramos wrote: > El dom, 14-04-2013 a las 11:45 +0200, Michał Górny escribió: >> On Sun, 14 Apr 2013 11:40:03 +0200 >> Pacho Ramos wrote: >> >>> # >=mono-0.92 versions using mcs -pkg:foo-sharp require shared memory, so we set the >>> # shared dir to ${T} so that ${T}/.wapi can be used during the install process. >>> export MONO_SHARED_DIR="${T}" >> >> Don't use ${T} in global scope. And just don't export them >> in the global scope either. >> > > Why not? It's more flexible if you put it in a function and call it from pkg_setup. That way, if it turns out that you need to do something that can't be done in global scope, you're already prepared. -- Thanks, Zac