diff options
| author | Leif Middelschulte | 2013-10-24 19:47:22 +0200 |
|---|---|---|
| committer | Xiyue Deng | 2013-10-24 23:06:56 -0700 |
| commit | 14b865c31c8c62c3db6c44686abea418496c5f93 (patch) | |
| tree | 510537472f521f4cfea3558439a90999b48f3f73 /Library | |
| parent | 92b469b586c66c07b856ff2b4c7e910818b1f525 (diff) | |
| download | homebrew-14b865c31c8c62c3db6c44686abea418496c5f93.tar.bz2 | |
flac: fix building on 10.9
* Based on the work of @fernandotcl.
- https://gist.github.com/fernandotcl/7120507
Closes #23254.
Closes #23540.
Signed-off-by: Xiyue Deng <manphiz@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/flac.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/flac.rb b/Library/Formula/flac.rb index c0f3ca392..4f18b1296 100644 --- a/Library/Formula/flac.rb +++ b/Library/Formula/flac.rb @@ -10,16 +10,28 @@ class Flac < Formula depends_on 'xz' => :build depends_on 'lame' depends_on 'libogg' => :optional + depends_on 'pkg-config' => :build + depends_on 'libtool' => :build + depends_on 'automake' => :build + depends_on 'autoconf' => :build fails_with :llvm do build 2326 cause "Undefined symbols when linking" end + def patches + #fixes compilation on mac os 10.9 maverick + [ + "https://gist.github.com/leiflm/7139949/raw" + ] + end + def install ENV.universal_binary if build.universal? # sadly the asm optimisations won't compile since Leopard + system "./autogen.sh" system "./configure", "--disable-dependency-tracking", "--disable-debug", "--disable-asm-optimizations", |
