| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2005 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.8 2005/09/03 20:59:54 cardoe Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.9 2005/09/03 21:07:53 cardoe Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Donnie Berkholz <spyderous@gentoo.org> |
5 | # Author: Donnie Berkholz <spyderous@gentoo.org> |
| 6 | # |
6 | # |
| 7 | # This eclass is designed to reduce code duplication in the modularized X11 |
7 | # This eclass is designed to reduce code duplication in the modularized X11 |
| 8 | # ebuilds. |
8 | # ebuilds. |
| … | |
… | |
| 43 | PDEPEND="${PDEPEND} |
43 | PDEPEND="${PDEPEND} |
| 44 | media-fonts/font-alias" |
44 | media-fonts/font-alias" |
| 45 | fi |
45 | fi |
| 46 | |
46 | |
| 47 | # If we're a driver package |
47 | # If we're a driver package |
| 48 | if [[ "${PN/#xf86-video}" != "${PN}" ]] | [[ "${PN}" != "xf86-input" ]]; then |
48 | if [[ "${PN/#xf86-video}" != "${PN}" || "${PN/#xf86-input}" != "${PN}" ]]; |
|
|
49 | then |
| 49 | # Don't build static driver modules |
50 | # Don't build static driver modules |
| 50 | DRIVER_OPTIONS="--disable-static" |
51 | DRIVER_OPTIONS="--disable-static" |
| 51 | fi |
52 | fi |
| 52 | |
53 | |
| 53 | DEPEND="${DEPEND} |
54 | DEPEND="${DEPEND} |