summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2003-06-30 06:12:29 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2003-06-30 06:12:29 +0000
commitd2eed59715ee56c9049f8b3c125792d1360ac745 (patch)
tree8ce7feeeaa7aab2da04cdc299056cd55ce30e2c0
parentChanged XFREE_CARDS to VIDEO_CARDS so non-xfree apps can use it. Also made th... (diff)
downloadhistorical-d2eed59715ee56c9049f8b3c125792d1360ac745.tar.gz
historical-d2eed59715ee56c9049f8b3c125792d1360ac745.tar.bz2
historical-d2eed59715ee56c9049f8b3c125792d1360ac745.zip
Changed XFREE_CARDS to VIDEO_CARDS.
-rw-r--r--eclass/xfree.eclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/xfree.eclass b/eclass/xfree.eclass
index 64e9fa7b702f..2ce856bb614e 100644
--- a/eclass/xfree.eclass
+++ b/eclass/xfree.eclass
@@ -1,23 +1,23 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xfree.eclass,v 1.1 2003/06/29 07:59:35 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xfree.eclass,v 1.2 2003/06/30 06:12:29 spyderous Exp $
#
# Author: Seemant Kulleen <seemant@gentoo.org>
#
# The xfree.eclass is designed to ease the checking functions that are
# performed in xfree and xfree-drm ebuilds. In the new scheme, a variable
-# called XFREE_CARDS will be used to indicate which cards a user wishes to
+# called VIDEO_CARDS will be used to indicate which cards a user wishes to
# build support for. Note, that this variable is only unlocked if the USE
-# variable "expertxfree" is switched on
+# variable "expertxfree" is switched on, at least for xfree.
ECLASS=xfree
INHERITED="${INHERITED} ${ECLASS}"
-EXPORT_FUNCTIONS xcards
+EXPORT_FUNCTIONS vcards
-xcards() {
+vcards() {
- has "$1" "${XFREE_CARDS}" && return 0
+ has "$1" "${VIDEO_CARDS}" && return 0
return 1
}