使用brew install时如何更改编译器配置?我想用brew用+ farsi编译vim。但是似乎+ farsi在brew中不可用:
$ brew install +farsi vim
Error: No available formula for +farsi
我也尝试了以下命令:
$ brew install vim --+farsi
==> Downloading http://ftp.debian.org/debian/pool/main/v/vim/vim_7.4.052.orig.tar.gz
Already downloaded: /Library/Caches/Homebrew/vim-7.4.052.tar.gz
==> Patching
patching file src/auto/configure
patching file src/osdef.sh
patching file src/os_mac.h
==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/7.4.052/share/man --enable-multibyte --with-tlib=ncur
==> make
==> make install prefix=/usr/local/Cellar/vim/7.4.052 STRIP=/usr/bin/true
但是+ farsi仍然没有用vim编译:
[ben@thebeast ~/vim/vim74]$ vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 24 2013 18:58:47)
Compiled by root@apple.com
Normal version without GUI. Features included (+) or not (-):
-farsi
实际上,唯一可用的选项是:
$ brew options vim
--disable-nls
Build vim without National Language Support (translated messages, keymaps)
--override-system-vi
Override system vi
--with-client-server
Enable client/server mode
--with-lua
Build vim with lua support
--with-mzscheme
Build vim with mzscheme support
--with-perl
Build vim with perl support
--with-python3
Build vim with python3 support
--with-tcl
Build vim with tcl support
--without-python
Build vim without python support
--without-ruby
Build vim without ruby support
--HEAD
install HEAD version
这是否意味着brew中仅配置子集可用?