libmongoclient: find boost outside of /usr/local

Fixes Homebrew/homebrew#24950.
Closes Homebrew/homebrew#25306.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Tyler Brock 2013-12-18 10:42:33 -05:00 committed by Adam Vandenberg
parent ad9fe37c3b
commit 66d8a56559

View file

@ -12,12 +12,14 @@ class Libmongoclient < Formula
def install
scons = Formula.factory('scons').opt_prefix/'bin/scons'
boost = Formula.factory('boost').opt_prefix
args = [
"--prefix=#{prefix}",
"-j#{ENV.make_jobs}",
"--cc=#{ENV.cc}",
"--cxx=#{ENV.cxx}",
"--extrapath=#{boost}",
"--full",
"--use-system-all",
"--sharedclient"