summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-04-21 07:01:00 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-04-21 07:01:00 +0000
commitf0b1990a390d4a4b97e2488cd9d19cff6497b16a (patch)
tree73c80b3b5d7e313b434473b42ff49cea0e211c76 /eclass/x-modular.eclass
parentMove the check for gcc vanilla specs into a separate function, x-modular_spec... (diff)
downloadhistorical-f0b1990a390d4a4b97e2488cd9d19cff6497b16a.tar.gz
historical-f0b1990a390d4a4b97e2488cd9d19cff6497b16a.tar.bz2
historical-f0b1990a390d4a4b97e2488cd9d19cff6497b16a.zip
Create a new function x-modular_dri_check(), and move the USE=dri check from x-modular_unpack_source() into it.
Diffstat (limited to 'eclass/x-modular.eclass')
-rw-r--r--eclass/x-modular.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass
index 3a50ba59c47d..4b44a077e52b 100644
--- a/eclass/x-modular.eclass
+++ b/eclass/x-modular.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.54 2006/04/21 06:58:52 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.55 2006/04/21 07:01:00 spyderous Exp $
#
# Author: Donnie Berkholz <spyderous@gentoo.org>
#
@@ -185,7 +185,7 @@ x-modular_specs_check() {
fi
}
-x-modular_unpack_source() {
+x-modular_dri_check() {
# (#120057) Enabling DRI in drivers requires that the server was built with
# support for it
if [[ -n "${DRIVER}" ]]; then
@@ -196,7 +196,9 @@ x-modular_unpack_source() {
fi
fi
fi
+}
+x-modular_unpack_source() {
unpack ${A}
cd ${S}
@@ -253,6 +255,7 @@ x-modular_reconf_source() {
x-modular_src_unpack() {
x-modular_specs_check
+ x-modular_dri_check
x-modular_unpack_source
x-modular_patch_source
x-modular_reconf_source