/[gentoo-x86]/eclass/x-modular.eclass
Gentoo

Diff of /eclass/x-modular.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.45 Revision 1.47
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.47 2006/03/09 20:39:30 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
158fi 160fi
159 161
160DEPEND="${DEPEND} 162DEPEND="${DEPEND}
161 >=dev-util/pkgconfig-0.18" 163 >=dev-util/pkgconfig-0.18"
226} 228}
227 229
228x-modular_src_unpack() { 230x-modular_src_unpack() {
229 if [[ ${PN:0:11} = "xorg-server" ]] || [[ -n "${DRIVER}" ]]; then 231 if [[ ${PN:0:11} = "xorg-server" ]] || [[ -n "${DRIVER}" ]]; then
230 if gcc-specs-now; then 232 if gcc-specs-now; then
231 msg="Do not emerge ${PN} without vanilla gcc!" 233 msg="Do not emerge ${PN} without vanilla gcc specs!"
232 eerror "$msg" 234 eerror "$msg"
233 die "$msg" 235 die "$msg"
234 fi 236 fi
235 fi 237 fi
236 238

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.47

  ViewVC Help
Powered by ViewVC 1.1.20