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 7141B1384B4 for ; Sat, 28 Nov 2015 13:25:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B63C21C0D0; Sat, 28 Nov 2015 13:24:28 +0000 (UTC) Received: from hetzner3.not-your-server.de (hetzner3.not-your-server.de [144.76.31.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE29021C02C for ; Sat, 28 Nov 2015 13:24:25 +0000 (UTC) Received: from localhost (localhost [IPv6:::1]) by hetzner3.not-your-server.de (Postfix) with ESMTP id AABC8105810; Sat, 28 Nov 2015 14:24:24 +0100 (CET) X-Virus-Scanned: amavisd-new at not-your-server.de Received: from hetzner3.not-your-server.de ([127.0.0.1]) by localhost (hetzner3.not-your-server.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0QnrJKV7CA-S; Sat, 28 Nov 2015 14:24:23 +0100 (CET) Received: from leo.ics.kfa-juelich.de (static-2-1002.not-your-server.de [IPv6:2a01:4f8:191:22ca::2:1002]) by hetzner3.not-your-server.de (Postfix) with ESMTP id ADC83105812; Sat, 28 Nov 2015 14:24:23 +0100 (CET) From: Justin Lecher To: gentoo-dev@lists.gentoo.org Cc: Justin Lecher Subject: [gentoo-dev] [PATCH 2/8] virtualx.eclass: Only source eclass once Date: Sat, 28 Nov 2015 14:24:15 +0100 Message-Id: <1448717061-11581-3-git-send-email-jlec@gentoo.org> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1448717061-11581-1-git-send-email-jlec@gentoo.org> References: <1448717061-11581-1-git-send-email-jlec@gentoo.org> 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 X-Archives-Salt: e3bc9d42-0e0c-4664-bf99-af82d1181219 X-Archives-Hash: 3e4f82a254ae3f806039a8f380cf655e Signed-off-by: Justin Lecher --- eclass/virtualx.eclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 584fb29..0b6614a 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -20,6 +20,8 @@ case "${EAPI:-0}" in ;; esac +if [[ ! ${_VIRTUAL_X} ]]; then + # @ECLASS-VARIABLE: VIRTUALX_REQUIRED # @DESCRIPTION: # Variable specifying the dependency on xorg-server and xhost. @@ -195,3 +197,6 @@ Xeconf() { VIRTUALX_COMMAND="econf" virtualmake "$@" } + +_VIRTUAL_X=1 +fi -- 2.6.3