summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-07-28 17:04:09 +0000
committerAron Griffis <agriffis@gentoo.org>2004-07-28 17:04:09 +0000
commita3dc0183eb0f3dc677852423435343da918b1d8a (patch)
tree19dbece133b63bfb115c44bab8d0e9ac7d2cbc33 /media-sound/lame/files/lame-3.96-ccc.patch
parentInital import. (Manifest recommit) (diff)
downloadgentoo-2-a3dc0183eb0f3dc677852423435343da918b1d8a.tar.gz
gentoo-2-a3dc0183eb0f3dc677852423435343da918b1d8a.tar.bz2
gentoo-2-a3dc0183eb0f3dc677852423435343da918b1d8a.zip
If ccc (alpha compiler) is installed on the system, the default configure is broken, fix it to respect CC. This is only directly broken for ARCH=alpha but would affect anybody with a ccc binary in their PATH. #41908
Diffstat (limited to 'media-sound/lame/files/lame-3.96-ccc.patch')
-rw-r--r--media-sound/lame/files/lame-3.96-ccc.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-sound/lame/files/lame-3.96-ccc.patch b/media-sound/lame/files/lame-3.96-ccc.patch
new file mode 100644
index 000000000000..684782aa0a72
--- /dev/null
+++ b/media-sound/lame/files/lame-3.96-ccc.patch
@@ -0,0 +1,16 @@
+--- lame-3.96/configure.in.ccc 2004-04-11 10:45:19.000000000 -0400
++++ lame-3.96/configure.in 2004-07-26 18:32:21.000000000 -0400
+@@ -915,11 +915,9 @@
+ alpha*-*-linux*)
+
+ ################################################################
+-#### Check if 'ccc' is in our path
++#### Check if we're using Compaq's C Compiler: 'ccc'
+ ################################################################
+-if test "`which ccc 2>/dev/null | grep -c ccc`" != "0" ; then
+- # Compaq's C Compiler
+- CC=ccc
++if test "`echo $CC | sed 's/.*\///'`" = ccc; then
+
+ ################################################################
+ #### set 'OPTIMIZATION = -arch host -tune host'