summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-03-01 18:56:58 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-03-01 18:56:58 +0000
commita9b91ff8f56c97390ec2c083cedb52bc02b56336 (patch)
treed23454c69c8c8cb36a2c8b08d2cb417f8a361bee /eclass/xorg-2.eclass
parentVersion bump. (diff)
downloadgentoo-2-a9b91ff8f56c97390ec2c083cedb52bc02b56336.tar.gz
gentoo-2-a9b91ff8f56c97390ec2c083cedb52bc02b56336.tar.bz2
gentoo-2-a9b91ff8f56c97390ec2c083cedb52bc02b56336.zip
Alter the deps only for video drivers this way.
Diffstat (limited to 'eclass/xorg-2.eclass')
-rw-r--r--eclass/xorg-2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass
index 4099b440c681..a7282bec374d 100644
--- a/eclass/xorg-2.eclass
+++ b/eclass/xorg-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.24 2011/02/28 18:16:40 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.25 2011/03/01 18:56:58 scarabeus Exp $
#
# @ECLASS: xorg-2.eclass
# @MAINTAINER:
@@ -186,7 +186,7 @@ if has dri ${IUSE//+}; then
x11-proto/dri2proto
)"
fi
-if [[ -n "${DRIVER}" ]]; then
+if [[ -n "${DRIVER}" && ${PN} == xf86-video-* ]]; then
COMMON_DEPEND+="
x11-base/xorg-server[xorg]
x11-libs/libpciaccess