devil: add universal option

Fixes Homebrew/homebrew#26000.
This commit is contained in:
Misty De Meo 2014-01-17 12:59:54 -08:00
parent 7c85c1d7c5
commit 1697297df6

View file

@ -8,6 +8,8 @@ class Devil < Formula
depends_on :libpng
depends_on 'jpeg'
option :universal
# see http://sourceforge.net/tracker/?func=detail&aid=3404133&group_id=4470&atid=104470
# also, even with -std=gnu99 removed from the configure script,
# devil fails to build with clang++ while compiling il_exr.cpp
@ -19,6 +21,8 @@ class Devil < Formula
def patches; DATA; end
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",