freebsd-ports/databases/mongodb/files/patch-SConstruct
Li-Wen Hsu d9f8ef49a2 - Update from 1.6.5 to 1.8.1 [1]
- Attached a patch to fix the TERM handling issue in SConstruct [1]
- Added "ldconfig" to the rc.d script to start mongod correctly if running in a jail [1]
- Remove unsupported FreeBSD version stuff
- Replace pkg-install and pkg-deinstall with USERS and GROUPS in Makefile

PR:		ports/156297 [1]
Submitted by:	Mirko Zinn <mail AT derzinn.de> (maintainer)
2011-04-23 13:45:28 +00:00

14 lines
No EOL
486 B
Text

--- 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 " )