diff options
| author | Adam Vandenberg | 2011-06-13 13:37:31 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-13 13:37:31 -0700 |
| commit | ce04d6d686413468d566e3ad8f22d65e274ed9ef (patch) | |
| tree | f671f15fce7a039a9f0fc0da02486e3c93bf8069 /Library | |
| parent | 4223ecba9624669f10efdb0902b598bc83cf6a94 (diff) | |
| download | homebrew-ce04d6d686413468d566e3ad8f22d65e274ed9ef.tar.bz2 | |
emacs: reorder formula per Homebrew style guide
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/emacs.rb | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb index 7be2a5656..40fc7b4a8 100644 --- a/Library/Formula/emacs.rb +++ b/Library/Formula/emacs.rb @@ -37,37 +37,6 @@ class Emacs < Formula return p end - def caveats - s = "" - if ARGV.include? "--cocoa" - s += <<-EOS.undent - Emacs.app was installed to: - #{prefix} - - EOS - else - s += <<-EOS.undent - Use --cocoa to build a Cocoa-specific Emacs.app. - - EOS - end - - s += <<-EOS.undent - The initial checkout of the bazaar Emacs repository might take a long - time. You might find that using the repo.or.cz git mirror is faster, - even after the initial checkout. To use the repo.or.cz git mirror for - HEAD builds, use the --use-git-head option in addition to --HEAD. Note - that there is inevitably some lag between checkins made to the - official Emacs bazaar repository and their appearance on the - repo.or.cz mirror. See http://repo.or.cz/w/emacs.git for the mirror's - status. The Emacs devs do not provide support for the git mirror, and - they might reject bug reports filed with git version information. Use - it at your own risk. - EOS - - return s - end - fails_with_llvm "Duplicate symbol errors while linking." def install @@ -106,4 +75,35 @@ class Emacs < Formula system "make install" end end + + def caveats + s = "" + if ARGV.include? "--cocoa" + s += <<-EOS.undent + Emacs.app was installed to: + #{prefix} + + EOS + else + s += <<-EOS.undent + Use --cocoa to build a Cocoa-specific Emacs.app. + + EOS + end + + s += <<-EOS.undent + The initial checkout of the bazaar Emacs repository might take a long + time. You might find that using the repo.or.cz git mirror is faster, + even after the initial checkout. To use the repo.or.cz git mirror for + HEAD builds, use the --use-git-head option in addition to --HEAD. Note + that there is inevitably some lag between checkins made to the + official Emacs bazaar repository and their appearance on the + repo.or.cz mirror. See http://repo.or.cz/w/emacs.git for the mirror's + status. The Emacs devs do not provide support for the git mirror, and + they might reject bug reports filed with git version information. Use + it at your own risk. + EOS + + return s + end end |
