aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/devil.rb
diff options
context:
space:
mode:
authorMisty De Meo2014-01-17 12:59:54 -0800
committerMisty De Meo2014-01-17 20:32:29 -0800
commit2fa220c78f3de999ad091ffcb2649a36e1b018ce (patch)
treeb8214e470f974e840ebba6fa36ef675535b90398 /Library/Formula/devil.rb
parent861fad0ae09bfe7a9dd40f5990738103493922ab (diff)
downloadhomebrew-2fa220c78f3de999ad091ffcb2649a36e1b018ce.tar.bz2
devil: add universal option
Fixes #26000.
Diffstat (limited to 'Library/Formula/devil.rb')
-rw-r--r--Library/Formula/devil.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/devil.rb b/Library/Formula/devil.rb
index 6a50e44bc..de44d9691 100644
--- a/Library/Formula/devil.rb
+++ b/Library/Formula/devil.rb
@@ -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}",