From a929b2dcc9c845a734413dfa1a54050e18c6e18d Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 14 Apr 2008 01:48:34 +0000 Subject: Add cxx ebuild. Almost working git-svn-id: svn://mattst88.com/svn/compaq-c-overlay@6 8c41e67f-757b-4206-be13-12d8f16ad5be --- dev-lang/cxx/files/probe_linux.patch | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 dev-lang/cxx/files/probe_linux.patch (limited to 'dev-lang/cxx/files/probe_linux.patch') diff --git a/dev-lang/cxx/files/probe_linux.patch b/dev-lang/cxx/files/probe_linux.patch new file mode 100644 index 0000000..9b9b6d6 --- /dev/null +++ b/dev-lang/cxx/files/probe_linux.patch @@ -0,0 +1,37 @@ +diff -u old/probe_linux.sh new/probe_linux.sh +--- usr/lib/compaq/cxx-6.5.9.31/alpha-linux/bin/probe_linux.sh.old 2008-04-13 16:27:32.000000000 -0400 ++++ usr/lib/compaq/ccc-6.5.9.31/alpha-linux/bin/probe_linux.sh 2008-04-13 16:24:18.000000000 -0400 +@@ -203,6 +203,8 @@ + DIST_OS="Linux" + if [ -r /etc/kondara-release ]; then + DIST_VENDOR="kondara" ++ elif [ -r /etc/gentoo-release ]; then ++ DIST_VENDOR="gentoo" + elif [ -r /etc/redhat-release ]; then + DIST_VENDOR="rh" + elif [ -r /etc/SuSE-release ]; then +@@ -249,13 +251,7 @@ + + probe_gcc() + { +- specs=`gcc -v 2>&1 | sed -n -e 's|^[^/]*\(/[^ ]*/specs\).*$|\1|p'` +- +- if [ ! -r $specs ]; then +- GCC_PATH="Unknown GCC" +- else +- GCC_PATH=`dirname $specs` +- fi ++ GCC_PATH=`gcc-config --get-lib-path` + } + + probe_libc() +@@ -326,7 +322,8 @@ + # TASO will return "YES", "NO", or "an error string" + # + TASO="YES" +- ++TASO="NO" ++return + if [ "$DIST_OS" = "Linux" ]; then + # Does ld claim to support taso? + if [ "`ld --help | grep taso`" = "" ]; then -- cgit v1.2.3