| 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.88 2007/10/15 23:57:37 beandog Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.89 2007/11/13 22:50:04 dberkholz 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 | |