mkvtoolnix: use boost bottle on mavericks

Closes Homebrew/homebrew#28181.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Clemens Gruber 2014-04-05 20:17:44 +02:00 committed by Mike McQuaid
parent 76047ffe40
commit 3f93b5e48e

View file

@ -32,12 +32,20 @@ class Mkvtoolnix < Formula
depends_on 'pkg-config' => :build
depends_on Ruby19
depends_on 'boost' => 'c++11'
depends_on 'libvorbis'
depends_on 'libmatroska' => 'c++11'
depends_on 'libebml' => 'c++11'
depends_on 'flac' => :optional
depends_on 'lzo' => :optional
# On Mavericks, the bottle (without c++11) can be used
# because mkvtoolnix is linked against libstdc++ by default
if MacOS.version >= 10.9
depends_on 'boost'
depends_on 'libmatroska'
depends_on 'libebml'
else
depends_on 'boost' => 'c++11'
depends_on 'libmatroska' => 'c++11'
depends_on 'libebml' => 'c++11'
end
fails_with :clang do
build 425