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 E16E61381F3 for ; Sun, 14 Apr 2013 10:25:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97D9CE0A70; Sun, 14 Apr 2013 10:25:33 +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 A383BE09B2 for ; Sun, 14 Apr 2013 10:25:32 +0000 (UTC) Received: from [192.168.1.33] (117.Red-88-11-52.dynamicIP.rima-tde.net [88.11.52.117]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pacho) by smtp.gentoo.org (Postfix) with ESMTPSA id B218F33DB86; Sun, 14 Apr 2013 10:25:30 +0000 (UTC) Message-ID: <1365935127.6940.17.camel@localhost> Subject: Re: [gentoo-dev] mono-env.eclass: new eclass to be used by most of dotnet packages From: Pacho Ramos To: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= Cc: gentoo-dev@lists.gentoo.org, dotnet@gentoo.org Date: Sun, 14 Apr 2013 12:25:27 +0200 In-Reply-To: <20130414120842.46d1a18d@pomiocik.lan> References: <1365932403.6940.8.camel@localhost> <20130414114557.429f7c55@pomiocik.lan> <1365933554.6940.9.camel@localhost> <20130414120842.46d1a18d@pomiocik.lan> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.8.0 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-Transfer-Encoding: 8bit X-Archives-Salt: 85803e07-399a-45d1-a917-6b70b7f1bdee X-Archives-Hash: a32c52e048afabfeced23b69d8f33ffc El dom, 14-04-2013 a las 12:08 +0200, Michał Górny escribió: > On Sun, 14 Apr 2013 11:59:14 +0200 > 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? > > Let's start with the fact that ${T} is only partially persistent > by the words of PMS. I don't know if it's really relevant here but > you're exporting persistent variables with value based on > an non-persistent one. > > Thinking about it more, it probably would work. As long as you don't > assume anything about those directories on pkg_*rm() where ${T} would > have changed already and your variables wouldn't. > Yes, they will be needed at compile time, that would explain why no problem raised for now :/ Thanks for the info > Also, why are you exporting HOME? PMS does that already... > Probably because it's inherited from current mono.eclass, but, are you sure PMS does that already? There are more examples in the tree (in eclasses and ebuilds) exporting HOME in similar way (vim.eclass for example) :/ Or maybe it was started to be exported more recently and this is only a relic :|