aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-01-16 10:37:43 +0000
committerMike McQuaid2014-01-16 10:37:43 +0000
commit7dbc967076b21bc3d09ce5ed73863e895e8f23f0 (patch)
tree99095edc7a81876879db2581a267ee536ee53b43 /Library/Formula
parent3a5bb5c789c52c105948e02d9f1f975d88878695 (diff)
downloadhomebrew-7dbc967076b21bc3d09ce5ed73863e895e8f23f0.tar.bz2
global: use build.with?
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/global.rb4
1 files changed, 2 insertions, 2 deletions
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