aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/jbigkit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/jbigkit.rb')
-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.