aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-11-14 14:35:08 -0600
committerJack Nagel2014-11-14 14:46:45 -0600
commite565f11c9f2b0cbbd85ac6097ac77e1595e52202 (patch)
tree92d0e2a6f5af6d50bf7aeca39bbce8f7e82d6138 /Library
parentbc6c8c9763786fe25eb01b872c0bc08754e6299f (diff)
downloadhomebrew-e565f11c9f2b0cbbd85ac6097ac77e1595e52202.tar.bz2
libzzip: update sdl option
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libzzip.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Formula/libzzip.rb b/Library/Formula/libzzip.rb
index 674f8c384..531c8df4f 100644
--- a/Library/Formula/libzzip.rb
+++ b/Library/Formula/libzzip.rb
@@ -13,11 +13,13 @@ class Libzzip < Formula
sha1 "986d13aa3974d0b7c2621a8447f1aad640f11d92" => :mountain_lion
end
- option 'sdl', 'Enable SDL usage and create SDL_rwops_zzip.pc'
+ option 'with-sdl', 'Enable SDL usage and create SDL_rwops_zzip.pc'
option :universal
+ deprecated_option "sdl" => "with-sdl"
+
depends_on 'pkg-config' => :build
- depends_on 'sdl' if build.include? 'sdl'
+ depends_on 'sdl' => :optional
conflicts_with 'zzuf', :because => 'both install `zzcat` binaries'
@@ -33,7 +35,7 @@ class Libzzip < Formula
--disable-dependency-tracking
--prefix=#{prefix}
]
- args << '--enable-sdl' if build.include? 'sdl'
+ args << "--enable-sdl" if build.with? "sdl"
system './configure', *args
system 'make install'
ENV.deparallelize # fails without this when a compressed file isn't ready