aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libao.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/libao.rb')
-rw-r--r--Library/Formula/libao.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Formula/libao.rb b/Library/Formula/libao.rb
index 88b640f3d..29beee396 100644
--- a/Library/Formula/libao.rb
+++ b/Library/Formula/libao.rb
@@ -5,16 +5,14 @@ class Libao <Formula
md5 '08283fbe1f587619053a156254afecec'
homepage 'http://www.xiph.org/ao/'
+ # Fix build on OS X 10.4 and 10.5 (included in upcoming 1.0.1)
+ def patches
+ "https://trac.xiph.org/raw-attachment/ticket/1667/libao.patch"
+ end
+
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--disable-x"
system "make install"
end
-
- def patches
- [
- # Fix build on OS X 10.4 and 10.5 (included in upcoming 1.0.1)
- "https://trac.xiph.org/raw-attachment/ticket/1667/libao.patch"
- ]
- end
end