aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-01-26 11:57:12 -0600
committerJack Nagel2013-01-26 12:29:26 -0600
commite2a14048c19d1cd6f7b092d8bbab65a309e21e93 (patch)
tree7dadc636adebcfa9c53387802591e2a128ac7797 /Library
parent0f1f0e5142561b3d821973b85e6ad7c20d0db3cb (diff)
downloadhomebrew-e2a14048c19d1cd6f7b092d8bbab65a309e21e93.tar.bz2
jbigkit: make universal optional
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/jbigkit.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/jbigkit.rb b/Library/Formula/jbigkit.rb
index 48b3144e6..5c323a8cf 100644
--- a/Library/Formula/jbigkit.rb
+++ b/Library/Formula/jbigkit.rb
@@ -5,12 +5,13 @@ class Jbigkit < Formula
url 'http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-2.0.tar.gz'
sha1 'cfb7d3121f02a74bfb229217858a0d149b6589ef'
+ option :universal
option 'with-check', "Verify the library during install"
def install
# Set for a universal build and patch the Makefile.
# There's no configure. It creates a static lib.
- ENV.universal_binary
+ ENV.universal_binary if build.universal?
system "make", "CC=#{ENV.cc}", "CCFLAGS=#{ENV.cflags}"
# It needs j1 to make the tests happen in sequence.