| 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.49 2006/03/22 20:19:24 spyderous Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.50 2006/04/02 00:07:55 kevquinn 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. |
| … | |
… | |
| 229 | } |
229 | } |
| 230 | |
230 | |
| 231 | x-modular_src_unpack() { |
231 | x-modular_src_unpack() { |
| 232 | if [[ ${PN:0:11} = "xorg-server" ]] || [[ -n "${DRIVER}" ]]; then |
232 | if [[ ${PN:0:11} = "xorg-server" ]] || [[ -n "${DRIVER}" ]]; then |
| 233 | if gcc-specs-now; then |
233 | if gcc-specs-now; then |
| 234 | msg="Do not emerge ${PN} without vanilla gcc specs!" |
234 | msg="${PN} does not work with hardened gcc specs. Switch to vanilla gcc specs to emerge ${PN}." |
| 235 | eerror "$msg" |
235 | eerror "$msg" |
| 236 | die "$msg" |
236 | die "$msg" |
| 237 | fi |
237 | fi |
| 238 | fi |
238 | fi |
| 239 | |
239 | |