summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2004-11-17 17:45:43 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2004-11-17 17:45:43 +0000
commitb0db881dca95a51f0c1a91dd12a6e2ea2673a513 (patch)
tree3e82f545c0ba2f265413870025c6965aeaf11d80 /x11-base/xfree
parentRemove ppc64-specific relinking for dlloader issues, because it's fixed in 6.... (diff)
downloadgentoo-2-b0db881dca95a51f0c1a91dd12a6e2ea2673a513.tar.gz
gentoo-2-b0db881dca95a51f0c1a91dd12a6e2ea2673a513.tar.bz2
gentoo-2-b0db881dca95a51f0c1a91dd12a6e2ea2673a513.zip
Remove check for CC variable and use tc-getCC() everywhere, so this works better with new gcc-config.
Diffstat (limited to 'x11-base/xfree')
-rw-r--r--x11-base/xfree/ChangeLog7
-rw-r--r--x11-base/xfree/xfree-4.3.0-r8.ebuild9
2 files changed, 8 insertions, 8 deletions
diff --git a/x11-base/xfree/ChangeLog b/x11-base/xfree/ChangeLog
index e2c0d869e54a..7777e4c16cb2 100644
--- a/x11-base/xfree/ChangeLog
+++ b/x11-base/xfree/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-base/xfree
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/ChangeLog,v 1.366 2004/11/17 17:36:27 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/ChangeLog,v 1.367 2004/11/17 17:45:43 spyderous Exp $
+
+ 17 Nov 2004; Donnie Berkholz <spyderous@gentoo.org>;
+ xfree-4.3.0-r8.ebuild:
+ Remove check for CC variable and use tc-getCC() everywhere, so this works
+ better with new gcc-config.
*xfree-4.3.0-r8 (17 Nov 2004)
diff --git a/x11-base/xfree/xfree-4.3.0-r8.ebuild b/x11-base/xfree/xfree-4.3.0-r8.ebuild
index 064b40c2b39c..8c43037f601c 100644
--- a/x11-base/xfree/xfree-4.3.0-r8.ebuild
+++ b/x11-base/xfree/xfree-4.3.0-r8.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/xfree/xfree-4.3.0-r8.ebuild,v 1.1 2004/11/17 17:36:28 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.3.0-r8.ebuild,v 1.2 2004/11/17 17:45:43 spyderous Exp $
inherit eutils flag-o-matic toolchain-funcs x11
@@ -169,11 +169,6 @@ pkg_setup() {
fi
fi
- # Check for existence of $CC, we use it later
- if [ -z "${CC}" ]
- then
- die "Please set the CC variable to your compiler. export CC=gcc."
- fi
}
src_unpack() {
@@ -383,7 +378,7 @@ src_unpack() {
# this is needed for ./configure and runtime linking and building not to fall into falsely believing
# that there are some headers and functions for builtin video drivers or font libraries present
- echo "#define CcCmd ${CC}" >> config/cf/host.def
+ echo "#define CcCmd $(tc-getCC)" >> config/cf/host.def
echo "#define OptimizedCDebugFlags ${CFLAGS}" >> config/cf/host.def
echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS}" >> config/cf/host.def