aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mkvtoolnix.rb5
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