--- src/mongo/SConscript.orig 2013-03-22 20:55:25.000000000 +0100 +++ src/mongo/SConscript 2013-03-25 17:46:04.000000000 +0100 @@ -13,7 +13,7 @@ Import("has_option") Import("usesm usev8") Import("installSetup") Import("enforce_glibc") -Import("darwin windows solaris linux nix") +Import("darwin windows solaris linux freebsd nix") env.SConscript(['base/SConscript', 'db/auth/SConscript', @@ -765,7 +765,7 @@ def installBinary( e, name ): if enforce_glibc: e.AddPostAction( name, checkGlibc ) - if (solaris or linux) and (not has_option("nostrip")): + if (solaris or linux or freebsd) and (not has_option("nostrip")): name = e.Command('stripped/%s' % name, name, Copy('$TARGET', '$SOURCE'))[0] e.AddPostAction(name, 'strip $TARGET')