summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-09-08 21:25:25 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-09-08 21:25:25 +0000
commite9d7139288c992300ff0bd8518ef6ce18f9403c6 (patch)
tree845db4275c97634263cd339869c651b75312e452 /x11-base
parentfix error message when ECVS_TOP_DIR do not exist; and sandbox issues (diff)
downloadgentoo-2-e9d7139288c992300ff0bd8518ef6ce18f9403c6.tar.gz
gentoo-2-e9d7139288c992300ff0bd8518ef6ce18f9403c6.tar.bz2
gentoo-2-e9d7139288c992300ff0bd8518ef6ce18f9403c6.zip
update cvs detection
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xfree/xfree-4.2.1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-base/xfree/xfree-4.2.1.ebuild b/x11-base/xfree/xfree-4.2.1.ebuild
index 5f39dbed9c8a..147e8e3d2063 100644
--- a/x11-base/xfree/xfree-4.2.1.ebuild
+++ b/x11-base/xfree/xfree-4.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.2.1.ebuild,v 1.1 2002/09/08 20:02:04 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.2.1.ebuild,v 1.2 2002/09/08 21:25:25 azarah Exp $
inherit flag-o-matic
# Compile problems with these ...
@@ -153,7 +153,8 @@ src_unpack() {
echo "#define XVendorString \"Gentoo Linux (XFree86 ${PV}, revision ${PR})\"" \
>> config/cf/host.def
- if [ "`gcc -dumpversion`" != "2.95.3" ]
+ [ -z "${CC}" ] && CC=gcc
+ if [ "`${CC} -dumpversion | cut -d. -f1,2`" != "2.95" ]
then
# should fix bug #4189. gcc-3.x have problems with -march=pentium4
# and -march=athlon-tbird