aboutsummaryrefslogtreecommitdiff
path: root/databases/mongodb/files/patch-SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mongodb/files/patch-SConstruct')
-rw-r--r--databases/mongodb/files/patch-SConstruct14
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/mongodb/files/patch-SConstruct b/databases/mongodb/files/patch-SConstruct
new file mode 100644
index 000000000000..ac3f01d83d64
--- /dev/null
+++ b/databases/mongodb/files/patch-SConstruct
@@ -0,0 +1,14 @@
+--- SConstruct.orig 2011-04-06 06:40:13.000000000 +0200
++++ SConstruct 2011-04-09 10:59:56.000000000 +0200
+@@ -679,7 +679,10 @@
+
+ #make scons colorgcc friendly
+ env['ENV']['HOME'] = os.environ['HOME']
+- env['ENV']['TERM'] = os.environ['TERM']
++ try:
++ env['ENV']['TERM'] = os.environ['TERM']
++ except KeyError:
++ env['ENV']['TERM'] = 'dumb'
+
+ if linux and has_option( "sharedclient" ):
+ env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " ) \ No newline at end of file