aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/emacs.rb
diff options
context:
space:
mode:
authorPeter Aronoff2013-01-01 12:15:40 -0500
committerMike McQuaid2013-01-01 17:39:05 +0000
commit71a75e3448c895827124e46db6bd9a3c277c5726 (patch)
tree2133b3dfc53d7f488fed0ae153ba2a2f8807665a /Library/Formula/emacs.rb
parenta95d344b674cb164ab7e9e576ea1f1642abeac5d (diff)
downloadhomebrew-71a75e3448c895827124e46db6bd9a3c277c5726.tar.bz2
emacs and ctags conflict
Both emacs and ctags install an executable named 'ctags'. Both should let the user know before trying to install the other one (rather than fail during linking). Closes #16825. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/emacs.rb')
-rw-r--r--Library/Formula/emacs.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb
index f7c840667..bdd5be9fd 100644
--- a/Library/Formula/emacs.rb
+++ b/Library/Formula/emacs.rb
@@ -6,6 +6,9 @@ class Emacs < Formula
mirror 'http://ftp.gnu.org/pub/gnu/emacs/emacs-24.2.tar.bz2'
sha1 '38e8fbc9573b70a123358b155cf55c274b5a56cf'
+ conflicts_with 'ctags',
+ :because => 'Both emacs and ctags install a `ctags` executable.'
+
option "cocoa", "Build a Cocoa version of emacs"
option "srgb", "Enable sRGB colors in the Cocoa version of emacs"
option "with-x", "Include X11 support"