diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2004-11-11 06:50:47 +0000 |
---|---|---|
committer | Donnie Berkholz <spyderous@gentoo.org> | 2004-11-11 06:50:47 +0000 |
commit | 25324c36369d4909dfbe21d7121e81a48ad498f1 (patch) | |
tree | ab4eafb4aa5768abda46d4158518c4f94451aa57 /x11-base | |
parent | +app-emulation/wine:glut; sort (diff) | |
download | gentoo-2-25324c36369d4909dfbe21d7121e81a48ad498f1.tar.gz gentoo-2-25324c36369d4909dfbe21d7121e81a48ad498f1.tar.bz2 gentoo-2-25324c36369d4909dfbe21d7121e81a48ad498f1.zip |
Respect new gcc-config that doesn't set CC.
Diffstat (limited to 'x11-base')
-rw-r--r-- | x11-base/xfree/ChangeLog | 6 | ||||
-rw-r--r-- | x11-base/xfree/xfree-4.3.0-r7.ebuild | 10 |
2 files changed, 7 insertions, 9 deletions
diff --git a/x11-base/xfree/ChangeLog b/x11-base/xfree/ChangeLog index 811ce7ee2623..b4a13b61507f 100644 --- a/x11-base/xfree/ChangeLog +++ b/x11-base/xfree/ChangeLog @@ -1,6 +1,10 @@ # 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.364 2004/10/21 01:04:37 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/ChangeLog,v 1.365 2004/11/11 06:50:47 spyderous Exp $ + + 10 Nov 2004; Donnie Berkholz <spyderous@gentoo.org>; + xfree-4.3.0-r7.ebuild: + Respect new gcc-config that doesn't set CC. 20 Oct 2004; Donnie Berkholz <spyderous@gentoo.org>; xfree-4.3.0-r7.ebuild: Update inherit to toolchain-funcs instead of gcc and x11 instead of xfree. diff --git a/x11-base/xfree/xfree-4.3.0-r7.ebuild b/x11-base/xfree/xfree-4.3.0-r7.ebuild index a9f33ad1f43c..6dee0c9d07a7 100644 --- a/x11-base/xfree/xfree-4.3.0-r7.ebuild +++ b/x11-base/xfree/xfree-4.3.0-r7.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-r7.ebuild,v 1.13 2004/10/21 01:04:37 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.3.0-r7.ebuild,v 1.14 2004/11/11 06:50:47 spyderous Exp $ inherit eutils flag-o-matic toolchain-funcs x11 @@ -168,12 +168,6 @@ pkg_setup() { die "The static USE flag is incompatible with the sdk USE flag." 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() { @@ -381,7 +375,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 |