diff options
| author | Jack Nagel | 2014-03-09 19:46:21 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-09 19:48:10 -0500 |
| commit | 20d9d13793afdfa42583e10028a2797f23256b71 (patch) | |
| tree | a2d285d504fad2677ce6753991e176b0eeacff3e /Library/Formula | |
| parent | b9cc9e1b73b1f3ce9e70f9cd5581f830857c1b81 (diff) | |
| download | homebrew-20d9d13793afdfa42583e10028a2797f23256b71.tar.bz2 | |
flac: disable ogg unless explicitly requested
Fixes #27349.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/flac.rb | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/Library/Formula/flac.rb b/Library/Formula/flac.rb index de2f738a4..abe010f87 100644 --- a/Library/Formula/flac.rb +++ b/Library/Formula/flac.rb @@ -30,13 +30,20 @@ class Flac < Formula ENV.append 'CFLAGS', '-std=gnu89' # sadly the asm optimisations won't compile since Leopard - system "./configure", "--disable-dependency-tracking", - "--disable-debug", - "--disable-asm-optimizations", - "--enable-sse", - "--enable-static", - "--prefix=#{prefix}", - "--mandir=#{man}" + args = %W[ + --disable-dependency-tracking + --disable-debug + --prefix=#{prefix} + --mandir=#{man} + --disable-asm-optimizations + --enable-sse + --enable-static + ] + + args << "--without-ogg" if build.without? "libogg" + + system "./configure", *args + ENV['OBJ_FORMAT']='macho' # adds universal flags to the generated libtool script |
