MacVim: Remove the Envy Code R font build step, since the site is apparently down often.
Closes Homebrew/homebrew#3736. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>master
parent
ebe8f5fe8a
commit
6e79c97819
|
@ -11,7 +11,8 @@ class Macvim <Formula
|
|||
[
|
||||
# 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."]
|
||||
["--with-cscope", "Build with Cscope support."],
|
||||
["--with-envycoder", "Build with Envy Code R Bold font."]
|
||||
]
|
||||
end
|
||||
|
||||
|
@ -48,6 +49,11 @@ class Macvim <Formula
|
|||
inreplace "src/MacVim/icons/make_icons.py", "dont_create = False", "dont_create = True"
|
||||
end
|
||||
|
||||
unless ARGV.include? "--with-envycoder"
|
||||
inreplace "src/MacVim/icons/Makefile", '$(OUTDIR)/MacVim-generic.icns: make_icons.py vim-noshadow-512.png loadfont.so Envy\ Code\ R\ Bold.ttf',
|
||||
"$(OUTDIR)/MacVim-generic.icns: make_icons.py vim-noshadow-512.png loadfont.so"
|
||||
end
|
||||
|
||||
system "make"
|
||||
|
||||
prefix.install "src/MacVim/build/Release/MacVim.app"
|
||||
|
|
Loading…
Reference in New Issue