aboutsummaryrefslogtreecommitdiff
path: root/databases/mongodb/files
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mongodb/files')
-rw-r--r--databases/mongodb/files/mongod.in2
-rw-r--r--databases/mongodb/files/patch-SConstruct14
2 files changed, 15 insertions, 1 deletions
diff --git a/databases/mongodb/files/mongod.in b/databases/mongodb/files/mongod.in
index 23e605128c8a..1aad7017ea9e 100644
--- a/databases/mongodb/files/mongod.in
+++ b/databases/mongodb/files/mongod.in
@@ -1,7 +1,7 @@
#!/bin/sh
# PROVIDE: mongod
-# REQUIRE: NETWORK
+# REQUIRE: NETWORK ldconfig
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
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