aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-11-24 11:37:46 -0600
committerJack Nagel2013-11-24 11:37:48 -0600
commit8da00e223a356a47e2431ac0b54a02f23401024e (patch)
tree37c3aebf75e038f20a9bac9fc72368ca98328cc8 /Library/Formula
parent3a97815cdf22114d280b660863025537b34c872c (diff)
downloadhomebrew-8da00e223a356a47e2431ac0b54a02f23401024e.tar.bz2
flac: use -std=gnu89 instead of patch
Fixes #24633.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/flac.rb18
1 files changed, 2 insertions, 16 deletions
diff --git a/Library/Formula/flac.rb b/Library/Formula/flac.rb
index 4470e1924..e3433db66 100644
--- a/Library/Formula/flac.rb
+++ b/Library/Formula/flac.rb
@@ -7,34 +7,20 @@ class Flac < Formula
option :universal
+ depends_on 'pkg-config' => :build
depends_on 'xz' => :build
depends_on 'lame'
depends_on 'libogg' => :optional
- # Mavericks fix needs autoreconf. Drop these after upstream has
- # incorporated the patch.
- depends_on :autoconf => :build
- depends_on :automake => :build
- depends_on :libtool => :build
- depends_on 'pkg-config' => :build
-
fails_with :llvm do
build 2326
cause "Undefined symbols when linking"
end
- def patches
- # Fixes compilation on mac os 10.9 maverick.
- # https://sourceforge.net/p/flac/bugs/405/
- { :p0 => "https://sourceforge.net/p/flac/bugs/_discuss/thread/17c68b42/fc53/attachment/autoconf-not-gnu89-131010.patch" }
- end
-
def install
ENV.universal_binary if build.universal?
- # Mavericks fix needs autoreconf. Drop this line after upstream has
- # incorporated the patch.
- system "./autogen.sh"
+ ENV.append 'CFLAGS', '-std=gnu89'
# sadly the asm optimisations won't compile since Leopard
system "./configure", "--disable-dependency-tracking",