aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSteven Yi2013-05-12 01:26:52 +0200
committerAdam Vandenberg2013-05-12 10:52:08 -0700
commitee0b8950140679335188f651a3d88ba01de00487 (patch)
treee14beb75701d4f70eec8e1ad1e43ba504a626c98 /Library
parentc83e4764320a1a973d61d2fa9241f7ba81a6bd26 (diff)
downloadhomebrew-ee0b8950140679335188f651a3d88ba01de00487.tar.bz2
libogg: add --universal
Closes #19739. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libogg.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/libogg.rb b/Library/Formula/libogg.rb
index 276417685..82d23376e 100644
--- a/Library/Formula/libogg.rb
+++ b/Library/Formula/libogg.rb
@@ -7,6 +7,8 @@ class Libogg < Formula
head 'http://svn.xiph.org/trunk/ogg'
+ option :universal
+
if build.head?
depends_on :autoconf
depends_on :automake
@@ -14,6 +16,8 @@ class Libogg < Formula
end
def install
+ ENV.universal_binary if build.universal?
+
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"