summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2006-02-14 05:27:04 (GMT)
committerSteven Knight <knight@baldmt.com>2006-02-14 05:27:04 (GMT)
commite7190df6b6aa89dac0370dc01ae45ff39254c221 (patch)
tree3a95657ab680d4288110e8f1046b0d033997bd5f /src
parent9655a1b459e6bb81ba44539d54e20d05b515b495 (diff)
downloadSCons-e7190df6b6aa89dac0370dc01ae45ff39254c221.zip
SCons-e7190df6b6aa89dac0370dc01ae45ff39254c221.tar.gz
SCons-e7190df6b6aa89dac0370dc01ae45ff39254c221.tar.bz2
Portability fixes for Repository Java tests; eliminate Solaris package warnings when searching for C++. (Baptiste Lepilleur)
Diffstat (limited to 'src')
-rw-r--r--src/CHANGES.txt5
-rw-r--r--src/engine/SCons/Tool/sunc++.py2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt
index 2e24314..70e19d4 100644
--- a/src/CHANGES.txt
+++ b/src/CHANGES.txt
@@ -144,8 +144,9 @@ RELEASE 0.97 - XXX
- Add support for Visual Studio 2005 Pro.
- - Fix Windows portability issues in various Visual Studio and
- Java tests.
+ - Fix portability issues in various Visual Studio and Java tests.
+
+ - Ignore pkgchk errors on Solaris when searching for the C++ compiler.
From Christian Maaser:
diff --git a/src/engine/SCons/Tool/sunc++.py b/src/engine/SCons/Tool/sunc++.py
index a6ac10a..36316cb 100644
--- a/src/engine/SCons/Tool/sunc++.py
+++ b/src/engine/SCons/Tool/sunc++.py
@@ -53,7 +53,7 @@ def get_cppc(env):
line = os.popen(cmd).readline()
if line:
cppcVersion = line.split()[-1]
- cmd = "%s -l %s | grep '^Pathname:.*/bin/CC$' | grep -v '/SC[0-9]*\.[0-9]*/'" % (pkgchk, package)
+ cmd = "%s -l %s 2>/dev/null | grep '^Pathname:.*/bin/CC$' | grep -v '/SC[0-9]*\.[0-9]*/'" % (pkgchk, package)
line = os.popen(cmd).readline()
cppcPath = os.path.dirname(line.split()[-1])
break