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
commit37202be65faa1f688bdace98e0aeba06431a5781 (patch)
treebd8b916976dc796faeb9fad71b7906d70ffc0507 /x11-base
parentfix error message when ECVS_TOP_DIR do not exist; and sandbox issues (diff)
downloadhistorical-37202be65faa1f688bdace98e0aeba06431a5781.tar.gz
historical-37202be65faa1f688bdace98e0aeba06431a5781.tar.bz2
historical-37202be65faa1f688bdace98e0aeba06431a5781.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