global: use build.with?

master
Mike McQuaid 2014-01-16 10:37:43 +00:00
parent 43a05bc945
commit c8d409300f
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ class Global < Formula
option 'with-exuberant-ctags', 'Enable Exuberant Ctags as a plug-in parser'
if build.include? 'with-exuberant-ctags'
if build.with? 'exuberant-ctags'
depends_on 'ctags'
skip_clean 'lib/gtags/exuberant-ctags.la'
end
@ -28,7 +28,7 @@ class Global < Formula
--prefix=#{prefix}
]
if build.include? 'with-exuberant-ctags'
if build.with? 'exuberant-ctags'
args << "--with-exuberant-ctags=#{HOMEBREW_PREFIX}/bin/ctags"
end