| 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.45 2006/02/15 21:33:15 spyderous Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.46 2006/02/28 01:27:21 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. |
| … | |
… | |
| 151 | || [[ "${PN/xcursor}" != "${PN}" ]] \ |
151 | || [[ "${PN/xcursor}" != "${PN}" ]] \ |
| 152 | ; then |
152 | ; then |
| 153 | DEBUGGABLE="yes" |
153 | DEBUGGABLE="yes" |
| 154 | IUSE="${IUSE} debug" |
154 | IUSE="${IUSE} debug" |
| 155 | if use debug; then |
155 | if use debug; then |
|
|
156 | if ! has splitdebug ${FEATURES}; then |
| 156 | RESTRICT="${RESTRICT} nostrip" |
157 | RESTRICT="${RESTRICT} nostrip" |
|
|
158 | fi |
| 157 | fi |
159 | fi |
| 158 | fi |
160 | fi |
| 159 | |
161 | |
| 160 | DEPEND="${DEPEND} |
162 | DEPEND="${DEPEND} |
| 161 | >=dev-util/pkgconfig-0.18" |
163 | >=dev-util/pkgconfig-0.18" |