diff options
| author | Xiyue Deng | 2014-01-17 22:14:02 -0800 |
|---|---|---|
| committer | Xiyue Deng | 2014-01-17 22:14:02 -0800 |
| commit | 4fe9ea5afdb613230771c6efdd296913fda70ed7 (patch) | |
| tree | 86ce569991fa9c163c51b784e033707862ab081c /Library/Formula | |
| parent | 2fa220c78f3de999ad091ffcb2649a36e1b018ce (diff) | |
| download | homebrew-4fe9ea5afdb613230771c6efdd296913fda70ed7.tar.bz2 | |
little-cms2: enable universal build.
* Wine depends on little-cms2, which needs 32-bit support.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/little-cms2.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/little-cms2.rb b/Library/Formula/little-cms2.rb index 0e54aed6d..d3d100419 100644 --- a/Library/Formula/little-cms2.rb +++ b/Library/Formula/little-cms2.rb @@ -8,7 +8,11 @@ class LittleCms2 < Formula depends_on 'jpeg' => :recommended depends_on 'libtiff' => :recommended + option :universal + def install + ENV.universal_binary if build.universal? + args = %W{--disable-dependency-tracking --prefix=#{prefix}} args << "--without-tiff" if build.without? "libtiff" args << "--without-jpeg" if build.without? "jpeg" |
