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 F148C138010 for ; Sun, 24 Mar 2013 20:19:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A490DE08AB; Sun, 24 Mar 2013 20:18:59 +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 2C74DE089D for ; Sun, 24 Mar 2013 20:18:58 +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 264F733C878; Sun, 24 Mar 2013 20:18:57 +0000 (UTC) Message-ID: <514F5FAF.50503@gentoo.org> Date: Sun, 24 Mar 2013 13:18:55 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:17.0) Gecko/20130305 Thunderbird/17.0.3 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: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= Subject: Re: [gentoo-dev] [PATCH 1/2] Introduce multibuild_merge_root() to merge interim installs. References: <20130323172532.1b1100e2@pomiocik.lan> <1364055998-23674-1-git-send-email-mgorny@gentoo.org> <20813.57273.945749.854552@a1i15.kph.uni-mainz.de> <20130323182858.1846ba8d@pomiocik.lan> <20814.44957.706923.881677@a1i15.kph.uni-mainz.de> <20130324110931.3ef46f45@pomiocik.lan> <20815.618.456234.421581@a1i15.kph.uni-mainz.de> <20130324151324.2aa3cd6b@pomiocik.lan> In-Reply-To: <20130324151324.2aa3cd6b@pomiocik.lan> X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 52ed4317-0fae-448a-b1c0-c7dc78d46af8 X-Archives-Hash: 868968d91003a3eeb13c5464ad9f45d8 On 03/24/2013 07:13 AM, Michał Górny wrote: > Oh, I didn't reply to use of userland. I thought about using that but > that would mean that I'd have to check all the userlands we support. BSD and GNU should be the only relevant USERLAND values (no others are listed in profiles/desc/userland.desc). In portage code, I always do the USERLAND conditionals like this: if [[ ${USERLAND} == BSD ]] ; then # bsd stuff else # gnu stuff fi That way, if USERLAND happens to be unset for whatever reason, it defaults to the GNU case. GNU seems like a reasonable default, since for prefix portage we use a GNU userland even for *BSD kernels. -- Thanks, Zac