diff options
| author | Nicolas Wojcik | 2013-05-20 19:50:44 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-05-21 20:27:12 -0700 |
| commit | a91e03e18e559bd356ab318c0ae28be468934caf (patch) | |
| tree | 81582579dd7e4fb482e1b28914f1fce3d37d418f /Library/Formula | |
| parent | 8c28cdb16c78c923d25d1c45868721a098ef9b08 (diff) | |
| download | homebrew-a91e03e18e559bd356ab318c0ae28be468934caf.tar.bz2 | |
libmagic: add option for universal binary
Closes #19951.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libmagic.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/libmagic.rb b/Library/Formula/libmagic.rb index 05100f3bc..af7ca9b34 100644 --- a/Library/Formula/libmagic.rb +++ b/Library/Formula/libmagic.rb @@ -6,11 +6,15 @@ class Libmagic < Formula mirror 'http://fossies.org/unix/misc/file-5.14.tar.gz' sha1 '064c8f17a5f7ae1e336a9285131e046d3b2d04d7' + option :universal + # Fixed upstream, should be in next release # See http://bugs.gw.com/view.php?id=230 def patches; DATA; end if MacOS.version < :lion def install + ENV.universal_binary if build.universal? + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--enable-fsect-man5" |
