summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2010-03-04 21:18:27 +0000
committerJonathan Callen <abcd@gentoo.org>2010-03-04 21:18:27 +0000
commit143d6ed900b3a4e2b5e2afef8347c6a774922a4d (patch)
treed51e79b4d43009fe037149bdf35ccabf5bd828e8 /eclass
parentRe-add python-2.3.9 as the last python-ldap version that works with openldap-... (diff)
downloadgentoo-2-143d6ed900b3a4e2b5e2afef8347c6a774922a4d.tar.gz
gentoo-2-143d6ed900b3a4e2b5e2afef8347c6a774922a4d.tar.bz2
gentoo-2-143d6ed900b3a4e2b5e2afef8347c6a774922a4d.zip
Make xorg-server optional on prefix (assume its available on the host, as it is not available in the prefix)
Diffstat (limited to 'eclass')
-rw-r--r--eclass/virtualx.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass
index a0b37d776e6c..e915bb875eae 100644
--- a/eclass/virtualx.eclass
+++ b/eclass/virtualx.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/virtualx.eclass,v 1.33 2009/12/21 17:27:28 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/virtualx.eclass,v 1.34 2010/03/04 21:18:27 abcd Exp $
#
# Author: Martin Schlemmer <azarah@gentoo.org>
#
@@ -17,7 +17,7 @@
# Dep string available for use outside of eclass, in case a more
# complicated dep is needed
-VIRTUALX_DEPEND="x11-base/xorg-server
+VIRTUALX_DEPEND="!prefix? ( x11-base/xorg-server )
x11-apps/xhost"
case ${VIRTUALX_REQUIRED} in