| 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.37 2006/01/01 01:14:59 swegener Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.38 2006/01/05 07:24:03 spyderous 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. |
| … | |
… | |
| 98 | fi |
98 | fi |
| 99 | fi |
99 | fi |
| 100 | |
100 | |
| 101 | # If we're a driver package |
101 | # If we're a driver package |
| 102 | if [[ "${PN/#xf86-video}" != "${PN}" ]] || [[ "${PN/#xf86-input}" != "${PN}" ]]; then |
102 | if [[ "${PN/#xf86-video}" != "${PN}" ]] || [[ "${PN/#xf86-input}" != "${PN}" ]]; then |
| 103 | # Don't build static driver modules |
|
|
| 104 | DRIVER_OPTIONS="--disable-static" |
|
|
| 105 | |
|
|
| 106 | # Enable driver code in the rest of the eclass |
103 | # Enable driver code in the rest of the eclass |
| 107 | DRIVER="yes" |
104 | DRIVER="yes" |
| 108 | |
105 | |
| 109 | # Add driver patchset to SRC_URI |
106 | # Add driver patchset to SRC_URI |
| 110 | SRC_URI="${SRC_URI} |
107 | SRC_URI="${SRC_URI} |