| 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.87 2007/10/14 10:12:24 dberkholz Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.90 2008/02/21 22:50:51 cardoe Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Donnie Berkholz <dberkholz@gentoo.org> |
5 | # Author: Donnie Berkholz <dberkholz@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. |
| … | |
… | |
| 155 | fi |
155 | fi |
| 156 | fi |
156 | fi |
| 157 | |
157 | |
| 158 | # Debugging -- ignore packages that can't be built with debugging |
158 | # Debugging -- ignore packages that can't be built with debugging |
| 159 | if [[ -z "${FONT}" ]] \ |
159 | if [[ -z "${FONT}" ]] \ |
| 160 | || [[ "${PN/app-doc}" != "${PN}" ]] \ |
160 | && [[ "${CATEGORY/app-doc}" = "${CATEGORY}" ]] \ |
| 161 | || [[ "${PN/x11-proto}" != "${PN}" ]] \ |
161 | && [[ "${CATEGORY/x11-proto}" = "${CATEGORY}" ]] \ |
| 162 | || [[ "${PN/util-macros}" != "${PN}" ]] \ |
162 | && [[ "${PN/util-macros}" = "${PN}" ]] \ |
| 163 | || [[ "${PN/xbitmaps}" != "${PN}" ]] \ |
163 | && [[ "${PN/xbitmaps}" = "${PN}" ]] \ |
| 164 | || [[ "${PN/xkbdata}" != "${PN}" ]] \ |
164 | && [[ "${PN/xkbdata}" = "${PN}" ]] \ |
| 165 | || [[ "${PN/xorg-cf-files}" != "${PN}" ]] \ |
165 | && [[ "${PN/xorg-cf-files}" = "${PN}" ]] \ |
| 166 | || [[ "${PN/xcursor}" != "${PN}" ]] \ |
166 | && [[ "${PN/xcursor}" = "${PN}" ]] \ |
| 167 | ; then |
167 | ; then |
| 168 | DEBUGGABLE="yes" |
168 | DEBUGGABLE="yes" |
| 169 | IUSE="${IUSE} debug" |
169 | IUSE="${IUSE} debug" |
| 170 | fi |
170 | fi |
| 171 | |
171 | |
| … | |
… | |
| 177 | >=x11-misc/util-macros-0.99.2 |
177 | >=x11-misc/util-macros-0.99.2 |
| 178 | >=sys-devel/binutils-2.16.1-r3" |
178 | >=sys-devel/binutils-2.16.1-r3" |
| 179 | fi |
179 | fi |
| 180 | |
180 | |
| 181 | RDEPEND="${RDEPEND} |
181 | RDEPEND="${RDEPEND} |
| 182 | || ( >=sys-apps/man-1.6b-r2 >=sys-apps/man-db-2.4.3-r1 ) |
|
|
| 183 | !<=x11-base/xorg-x11-6.9" |
182 | !<=x11-base/xorg-x11-6.9" |
| 184 | # Provides virtual/x11 for temporary use until packages are ported |
183 | # Provides virtual/x11 for temporary use until packages are ported |
| 185 | # x11-base/x11-env" |
184 | # x11-base/x11-env" |
| 186 | |
185 | |
| 187 | inherit eutils libtool multilib toolchain-funcs flag-o-matic autotools \ |
186 | inherit eutils libtool multilib toolchain-funcs flag-o-matic autotools \ |
| … | |
… | |
| 366 | fi |
365 | fi |
| 367 | |
366 | |
| 368 | if [[ -e ${S}/ChangeLog ]]; then |
367 | if [[ -e ${S}/ChangeLog ]]; then |
| 369 | dodoc ${S}/ChangeLog |
368 | dodoc ${S}/ChangeLog |
| 370 | fi |
369 | fi |
|
|
370 | [[ -n $DOCS ]] && dodoc $DOCS |
| 371 | |
371 | |
| 372 | # Make sure docs get compressed |
372 | # Make sure docs get compressed |
| 373 | prepalldocs |
373 | prepalldocs |
| 374 | |
374 | |
| 375 | # Don't install libtool archives for server modules |
375 | # Don't install libtool archives for server modules |