| 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.84 2007/07/02 14:24:27 peper Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.85 2007/08/02 01:21:56 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. |
| … | |
… | |
| 317 | x-modular_src_configure() { |
317 | x-modular_src_configure() { |
| 318 | x-modular_font_configure |
318 | x-modular_font_configure |
| 319 | x-modular_debug_setup |
319 | x-modular_debug_setup |
| 320 | |
320 | |
| 321 | # If prefix isn't set here, .pc files cause problems |
321 | # If prefix isn't set here, .pc files cause problems |
| 322 | if [[ -x ./configure ]]; then |
322 | if [[ -x ${ECONF_SOURCE:-.}/configure ]]; then |
| 323 | econf --prefix=${XDIR} \ |
323 | econf --prefix=${XDIR} \ |
| 324 | --datadir=${XDIR}/share \ |
324 | --datadir=${XDIR}/share \ |
| 325 | ${FONT_OPTIONS} \ |
325 | ${FONT_OPTIONS} \ |
| 326 | ${DRIVER_OPTIONS} \ |
326 | ${DRIVER_OPTIONS} \ |
| 327 | ${CONFIGURE_OPTIONS} |
327 | ${CONFIGURE_OPTIONS} |