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 556AE1384B4 for ; Sun, 29 Nov 2015 10:17:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 198FC21C07E; Sun, 29 Nov 2015 10:17:50 +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 5C7A021C06E for ; Sun, 29 Nov 2015 10:17:49 +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 7016F3406F2 for ; Sun, 29 Nov 2015 10:17:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 20FFACB2 for ; Sun, 29 Nov 2015 10:17:44 +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: <1448792175.80afaf4a7425e5fb9efcc92c23c365a8b5fa2862.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: eclass/ X-VCS-Repository: proj/sci X-VCS-Files: eclass/mpi.eclass X-VCS-Directories: eclass/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 80afaf4a7425e5fb9efcc92c23c365a8b5fa2862 X-VCS-Branch: master Date: Sun, 29 Nov 2015 10:17:44 +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: 8db47d7a-9ecf-4a27-bbac-3520f53ea72d X-Archives-Hash: b2b0a1322a4f8a267dc1e8c9fcc9f800 commit: 80afaf4a7425e5fb9efcc92c23c365a8b5fa2862 Author: Justin Lecher gentoo org> AuthorDate: Sun Nov 29 10:09:34 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sun Nov 29 10:16:15 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=80afaf4a mpi.eclass: Only source once Signed-off-by: Justin Lecher gentoo.org> eclass/mpi.eclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eclass/mpi.eclass b/eclass/mpi.eclass index 00686bf..af25756 100644 --- a/eclass/mpi.eclass +++ b/eclass/mpi.eclass @@ -13,6 +13,8 @@ # Use virtual/$class to get imp dep in mpi_pkg_deplist. # 2008-11-20 (jsbronder): Initial rewrite from old mpi.eclass +if [[ ! ${_MPI_ECLASS} ]]; then + case ${EAPI:-0} in 2|3|4|5) inherit multilib @@ -469,3 +471,6 @@ _get_eselect_var() { echo "$(eselect mpi printvar $(mpi_class) ${1} 2>/dev/null)" fi } + +_MPI_ECLASS=1 +fi