summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2004-03-01 04:52:45 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2004-03-01 04:52:45 +0000
commit2faf673e20ddb29434978721333fc6c12f75844f (patch)
treef8a5bf7c181b7e76b2c9d60860d963478615ac21 /x11-base
parentAdding metadata.xml (Manifest recommit) (diff)
downloadgentoo-2-2faf673e20ddb29434978721333fc6c12f75844f.tar.gz
gentoo-2-2faf673e20ddb29434978721333fc6c12f75844f.tar.bz2
gentoo-2-2faf673e20ddb29434978721333fc6c12f75844f.zip
Check for existence of CC variable, since some old gcc versions didn't supply a proper env.d file.
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xfree/ChangeLog7
-rw-r--r--x11-base/xfree/xfree-4.3.0-r5.ebuild8
-rw-r--r--x11-base/xfree/xfree-4.3.99.902-r2.ebuild10
3 files changed, 22 insertions, 3 deletions
diff --git a/x11-base/xfree/ChangeLog b/x11-base/xfree/ChangeLog
index 86a1c264f858..554ce4be1c4f 100644
--- a/x11-base/xfree/ChangeLog
+++ b/x11-base/xfree/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-base/xfree
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/ChangeLog,v 1.290 2004/02/29 14:45:42 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/ChangeLog,v 1.291 2004/03/01 04:52:45 spyderous Exp $
+
+ 29 Feb 2004; Donnie Berkholz <spyderous@gentoo.org>; xfree-4.3.0-r5.ebuild,
+ xfree-4.3.99.902-r2.ebuild:
+ Check for existence of CC variable, since some old gcc versions didn't supply
+ a proper env.d file.
23 Feb 2004; Donnie Berkholz <spyderous@gentoo.org>; xfree-4.3.0-r5.ebuild:
Add bindist support for binary distribution in GRP sets.
diff --git a/x11-base/xfree/xfree-4.3.0-r5.ebuild b/x11-base/xfree/xfree-4.3.0-r5.ebuild
index c779ee022451..4a35c2f634d6 100644
--- a/x11-base/xfree/xfree-4.3.0-r5.ebuild
+++ b/x11-base/xfree/xfree-4.3.0-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.3.0-r5.ebuild,v 1.3 2004/02/23 19:45:06 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.3.0-r5.ebuild,v 1.4 2004/03/01 04:52:45 spyderous Exp $
# Make sure Portage does _NOT_ strip symbols. We will do it later and make sure
# that only we only strip stuff that are safe to strip ...
@@ -164,6 +164,12 @@ 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() {
diff --git a/x11-base/xfree/xfree-4.3.99.902-r2.ebuild b/x11-base/xfree/xfree-4.3.99.902-r2.ebuild
index 51552509f141..ca37c70a48f9 100644
--- a/x11-base/xfree/xfree-4.3.99.902-r2.ebuild
+++ b/x11-base/xfree/xfree-4.3.99.902-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.3.99.902-r2.ebuild,v 1.2 2004/02/17 22:51:27 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.3.99.902-r2.ebuild,v 1.3 2004/03/01 04:52:45 spyderous Exp $
# Make sure Portage does _NOT_ strip symbols. We will do it later and make sure
# that only we only strip stuff that are safe to strip ...
@@ -136,6 +136,14 @@ inherit eutils flag-o-matic gcc xfree
DESCRIPTION="Xfree86: famous and free X server"
+pkg_setup() {
+ # 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() {
# Unpack source and patches