From ee0b8950140679335188f651a3d88ba01de00487 Mon Sep 17 00:00:00 2001 From: Steven Yi Date: Sun, 12 May 2013 01:26:52 +0200 Subject: libogg: add --universal Closes #19739. Signed-off-by: Adam Vandenberg --- Library/Formula/libogg.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library') 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}" -- cgit v1.2.3