diff options
| author | Jack Nagel | 2013-06-26 19:02:37 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-26 19:02:52 -0500 |
| commit | f09eb3de7537b21a967e1bfbe7c2817a84ec5072 (patch) | |
| tree | 8efb89e2a7345fb9307fb311201fa8e2139c4d1b /Library/Formula/libmikmod.rb | |
| parent | c9b82819d29b0ded0b47e686d0fbd5065a786b76 (diff) | |
| download | homebrew-f09eb3de7537b21a967e1bfbe7c2817a84ec5072.tar.bz2 | |
libmikmod: style
Diffstat (limited to 'Library/Formula/libmikmod.rb')
| -rw-r--r-- | Library/Formula/libmikmod.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/libmikmod.rb b/Library/Formula/libmikmod.rb index e7574f31e..c0fd7bc51 100644 --- a/Library/Formula/libmikmod.rb +++ b/Library/Formula/libmikmod.rb @@ -8,8 +8,8 @@ class Libmikmod < Formula option 'with-debug', 'Enable debugging symbols' def install - if build.include? 'with-debug' - (ENV.compiler == :clang) ? ENV.Og : ENV.O2 + if build.with? 'debug' + ENV.compiler == :clang ? ENV.Og : ENV.O2 end # OSX has CoreAudio, but ALSA is not for this OS nor is SAM9407 nor ULTRA. @@ -19,7 +19,7 @@ class Libmikmod < Formula --disable-sam9407 --disable-ultra ] - args << '--with-debug' if build.include? 'with-debug' + args << '--with-debug' if build.with? 'debug' mkdir 'macbuild' do system "../configure", *args system "make install" |
