Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
emacs and ctags conflict
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Aronoff authored and MikeMcQuaid committed Jan 1, 2013
1 parent a95d344 commit 71a75e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Library/Formula/ctags.rb
Expand Up @@ -7,6 +7,9 @@ class Ctags < Formula

head 'https://ctags.svn.sourceforge.net/svnroot/ctags/trunk'

conflicts_with 'emacs',
:because => 'Both ctags and emacs install a `ctags` executable.'

depends_on :autoconf => :build if build.head?

def patches
Expand Down
3 changes: 3 additions & 0 deletions Library/Formula/emacs.rb
Expand Up @@ -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"
Expand Down

0 comments on commit 71a75e3

Please sign in to comment.