From 7dbc967076b21bc3d09ce5ed73863e895e8f23f0 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 16 Jan 2014 10:37:43 +0000 Subject: global: use build.with? --- Library/Formula/global.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/global.rb b/Library/Formula/global.rb index 466c50812..459fff179 100644 --- a/Library/Formula/global.rb +++ b/Library/Formula/global.rb @@ -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 -- cgit v1.2.3