diff options
| author | Adam Vandenberg | 2013-11-26 22:27:10 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-26 22:27:10 -0800 |
| commit | 7f0a72932ebf573f8dd69c9490bb6ae69fb383a9 (patch) | |
| tree | 92c77e5a2225fa5136f9d36c42af31fa16316f16 /Library | |
| parent | 764ea730e7c393d6af044cfe47c2a9c7cc4ea15f (diff) | |
| download | homebrew-7f0a72932ebf573f8dd69c9490bb6ae69fb383a9.tar.bz2 | |
mvktoolnix: locate boost
Allows building when installed outside of /usr/local.
Closes #24591.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mkvtoolnix.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/mkvtoolnix.rb b/Library/Formula/mkvtoolnix.rb index e2a4418a8..97d42701c 100644 --- a/Library/Formula/mkvtoolnix.rb +++ b/Library/Formula/mkvtoolnix.rb @@ -44,11 +44,14 @@ class Mkvtoolnix < Formula ENV['ZLIB_CFLAGS'] = '-I/usr/include' ENV['ZLIB_LIBS'] = '-L/usr/lib -lz' + boost = Formula.factory('boost').opt_prefix + system "./configure", "--disable-debug", + "--prefix=#{prefix}", "--disable-gui", "--disable-wxwidgets", "--without-curl", - "--prefix=#{prefix}" + "--with-boost=#{boost}" system "./drake", "-j#{ENV.make_jobs}" system "./drake install" end |
