HomeBrewを使ってインストールするときに、ビルドオプションが使えるか調べたい
optionsサブコマンドを使う
brew options パッケージ名
例:imagemagickの場合
takuya@air:~$ brew options imagemagick
imagemagick
--with-ghostscript
Compile against ghostscript (not recommended.)
--use-wmf
Compile with libwmf support.
--use-rsvg
Compile with librsvg support.
--use-lqr
Compile with liblqr support.
--use-exr
Compile with openexr support.
--disable-openmp
Disable OpenMP.
--enable-hdri
Compile with HDRI support enabled
--with-magick-plus-plus
Compile with C++ interface.
--with-quantum-depth-8
Compile with a quantum depth of 8 bit
--with-quantum-depth-16
Compile with a quantum depth of 16 bit
--with-quantum-depth-32
Compile with a quantum depth of 32 bit
オプションを使ってインストールする
確認したオプションを指定してインストールが出来る。
takuya@air:~$ brew install imagemagick --with-librsvg --force ==> Downloading http://downloads.sf.net/project/machomebrew/mirror/ImageMagick-6.7.7-6.tar.bz2 ######################################################################## 100.0% ==> Patching patching file configure Hunk #1 succeeded at 32371 (offset 447 lines). ==> ./configure --disable-osx-universal-binary --without-perl --prefix=/usr/local/Cellar/imagemagick/6.7.7-6 --enable-sh ==> make install /usr/local/Cellar/imagemagick/6.7.7-6: 1396 files, 32M, built in 2.5 minutes