summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2004-08-31 05:23:51 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2004-08-31 05:23:51 +0000
commit3eecbe7e72eaf1d4b8353ed3ff5b9798c62fdcd7 (patch)
treef2832efc4f250d2a1f944a13beaee9b515e6e5e8 /x11-base
parentremoving =dev-java/ant-1.5.4, not in tree anymore (diff)
downloadgentoo-2-3eecbe7e72eaf1d4b8353ed3ff5b9798c62fdcd7.tar.gz
gentoo-2-3eecbe7e72eaf1d4b8353ed3ff5b9798c62fdcd7.tar.bz2
gentoo-2-3eecbe7e72eaf1d4b8353ed3ff5b9798c62fdcd7.zip
Fix use() invocation, thanks to Michael Sterrett <mr_bones_@gentoo.org>.
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/x11-drm/ChangeLog6
-rw-r--r--x11-base/x11-drm/x11-drm-20040827.ebuild6
2 files changed, 8 insertions, 4 deletions
diff --git a/x11-base/x11-drm/ChangeLog b/x11-base/x11-drm/ChangeLog
index 9671f49ba5c5..d0a05895a7a4 100644
--- a/x11-base/x11-drm/ChangeLog
+++ b/x11-base/x11-drm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-base/x11-drm
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/ChangeLog,v 1.1 2004/08/29 08:11:06 battousai Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/ChangeLog,v 1.2 2004/08/31 05:23:51 spyderous Exp $
+
+ 31 Aug 2004; Donnie Berkholz <spyderous@gentoo.org>;
+ x11-drm-20040827.ebuild:
+ Fix use() invocation, thanks to Michael Sterrett <mr_bones_@gentoo.org>.
*x11-drm-4.3.0-r6 (29 Aug 2004)
diff --git a/x11-base/x11-drm/x11-drm-20040827.ebuild b/x11-base/x11-drm/x11-drm-20040827.ebuild
index 3f3c492c9d43..215e587b7b53 100644
--- a/x11-base/x11-drm/x11-drm-20040827.ebuild
+++ b/x11-base/x11-drm/x11-drm-20040827.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20040827.ebuild,v 1.1 2004/08/29 08:11:06 battousai Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20040827.ebuild,v 1.2 2004/08/31 05:23:51 spyderous Exp $
inherit eutils xfree kmod
@@ -47,7 +47,7 @@ pkg_setup() {
# die "Non-koutput and non-M 2.6 kernel tree"
# fi
- if [ "${ARCH}" != "sparc" -a "`use video_cards_ffb`" ]
+ if [ "${ARCH}" != "sparc" ] && use video_cards_ffb
then
die "The ffb driver is for sparc-specific hardware. Please remove it from your VIDEO_CARDS."
fi
@@ -55,7 +55,7 @@ pkg_setup() {
# GATOS only works with radeon, rage128. mach64 is provided by drm trunk.
if use gatos
then
- if [ ! "`use video_cards_radeon`" -a ! "`use video_cards_rage128`" ]
+ if ! use video_cards_radeon && ! use video_cards_rage128
then
die "Remove gatos from your USE flags. It does not work with cards other than radeon and rage128."
fi