diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-03-02 15:40:38 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-03-02 15:40:38 +0000 |
commit | e4543023ea482385e3d5ca10f3e5bec811bf5ce3 (patch) | |
tree | ded8b8bb50608afb47193d72ca0d29be7457ebec /eclass | |
parent | Maintenance release bump, remove some old versions (diff) | |
download | historical-e4543023ea482385e3d5ca10f3e5bec811bf5ce3.tar.gz historical-e4543023ea482385e3d5ca10f3e5bec811bf5ce3.tar.bz2 historical-e4543023ea482385e3d5ca10f3e5bec811bf5ce3.zip |
Depend on proper xorg-server for all drivers.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/xorg-2.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass index a7282bec374d..bf93a0841143 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.25 2011/03/01 18:56:58 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.26 2011/03/02 15:40:38 scarabeus Exp $ # # @ECLASS: xorg-2.eclass # @MAINTAINER: @@ -186,9 +186,13 @@ if has dri ${IUSE//+}; then x11-proto/dri2proto )" fi -if [[ -n "${DRIVER}" && ${PN} == xf86-video-* ]]; then +if [[ -n "${DRIVER}" ]]; then COMMON_DEPEND+=" x11-base/xorg-server[xorg] + " +fi +if [[ -n "${DRIVER}" && ${PN} == xf86-video-* ]]; then + COMMON_DEPEND+=" x11-libs/libpciaccess " # we also needs some protos and libs in all cases |