aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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