aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-12-09 14:57:44 -0800
committerAdam Vandenberg2010-12-09 14:57:44 -0800
commit4a7fb5f350420124a0c6ee57e7442d6fd55c6328 (patch)
tree9206c42f5e9b21bac7bc3cb65c173b194d4422cf /Library/Formula
parent0008cc16b3366634f9515562a3fa2eace3245323 (diff)
downloadhomebrew-4a7fb5f350420124a0c6ee57e7442d6fd55c6328.tar.bz2
MacVim - Don't build custom icons by default.
Building custom document icons fails on many user machines, so disable this by default. Use the "--custom-icons" flag to enable: brew install --custom-icons macvim
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/macvim.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb
index 36157a354..9d4c14aaa 100644
--- a/Library/Formula/macvim.rb
+++ b/Library/Formula/macvim.rb
@@ -8,9 +8,11 @@ class Macvim <Formula
homepage 'http://code.google.com/p/macvim/'
def options
- # Occassional reports of this brew failing during the icon step
- [["--no-icons", "Don't generate custom document icons."],
- ["--with-cscope", "Build with Cscope support."]]
+ [
+ # Building custom icons fails for many users, so off by default.
+ ["--custom-icons", "Try to generate custom document icons."],
+ ["--with-cscope", "Build with Cscope support."]
+ ]
end
depends_on 'cscope' if ARGV.include? '--with-cscope'
@@ -37,7 +39,7 @@ class Macvim <Formula
system "./configure", *args
- if ARGV.include? "--no-icons"
+ unless ARGV.include? "--custom-icons"
inreplace "src/MacVim/icons/Makefile", "$(MAKE) -C makeicns", ""
inreplace "src/MacVim/icons/make_icons.py", "dont_create = False", "dont_create = True"
end