diff options
| author | Justin de Vesine | 2011-04-11 10:40:22 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-13 12:43:26 -0700 |
| commit | d994588510fdb93bdd1af4b6a70e7d3fc182819a (patch) | |
| tree | 9100fe3cfb2b6993d2358840cfef41eddd32f0b8 | |
| parent | ec0b15df0e6a81ddb69ed205f473fba11c59f27f (diff) | |
| download | homebrew-d994588510fdb93bdd1af4b6a70e7d3fc182819a.tar.bz2 | |
Use copy_autogen when building emacs --HEAD
see https://github.com/mxcl/homebrew/issues/4852
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/emacs.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb index 2a84384a1..7d5bacfbf 100644 --- a/Library/Formula/emacs.rb +++ b/Library/Formula/emacs.rb @@ -64,6 +64,12 @@ class Emacs < Formula "--enable-locallisppath=#{HOMEBREW_PREFIX}/share/emacs/site-lisp", "--infodir=#{info}/emacs"] + if ARGV.build_head? and File.exists? "./autogen/copy_autogen" + opoo "Using copy_autogen" + puts "See https://github.com/mxcl/homebrew/issues/4852" + system "autogen/copy_autogen" + end + if ARGV.include? "--cocoa" args << "--with-ns" << "--disable-ns-self-contained" system "./configure", *args |
