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 AA9A11388C2 for ; Fri, 4 Dec 2015 07:01:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6D3921C0D7; Fri, 4 Dec 2015 07:01:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3A5121C0D6 for ; Fri, 4 Dec 2015 07:01:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BFBF9340A3E for ; Fri, 4 Dec 2015 07:01:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9FB87C89 for ; Fri, 4 Dec 2015 07:01:11 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1449182513.7fd182316f62c5323e034a785bf440f81de2f698.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: eclass/ X-VCS-Repository: proj/sci X-VCS-Files: eclass/alternatives-2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 7fd182316f62c5323e034a785bf440f81de2f698 X-VCS-Branch: master Date: Fri, 4 Dec 2015 07:01:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7e48b63d-cf26-4b63-b412-1dfc794c301d X-Archives-Hash: ad483e0a03200d5dd47a100f5b15e30b commit: 7fd182316f62c5323e034a785bf440f81de2f698 Author: Benda Xu gmail com> AuthorDate: Wed Nov 25 14:37:23 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Thu Dec 3 22:41:53 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7fd18231 eclass/alternatives-2.eclass: support Prefix. Use ALTERNATIVESDIR_ROOT for ${D}. app-admin/eselect-* has been renamed to app-select/eselect-*. eclass/alternatives-2.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/alternatives-2.eclass b/eclass/alternatives-2.eclass index 4ec9f2b..a0c18d9 100644 --- a/eclass/alternatives-2.eclass +++ b/eclass/alternatives-2.eclass @@ -33,9 +33,9 @@ esac DEPEND=">=app-admin/eselect-1.4.5-r102" RDEPEND="${DEPEND} - !app-admin/eselect-blas - !app-admin/eselect-cblas - !app-admin/eselect-lapack" + !app-eselect/eselect-blas + !app-eselect/eselect-cblas + !app-eselect/eselect-lapack" # @ECLASS-VARIABLE: ALTERNATIVES_DIR # @INTERNAL @@ -58,7 +58,7 @@ alternatives_for() { dodir /etc/env.d/alternatives - ALTERNATIVESDIR_ROOTLESS="${ED}/etc/env.d/alternatives" \ + ALTERNATIVESDIR_ROOT="${D%/}" \ eselect alternatives add ${@} || die ALTERNATIVES_CREATED+=( ${1} )