libbluray: explicitly disable freetype when requested

Closes Homebrew/homebrew#26267.

[jn: style]

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Derek Shockey 2014-01-29 14:22:04 -08:00 committed by Jack Nagel
parent ed13440174
commit 8b1c3841cf

View file

@ -19,8 +19,11 @@ class Libbluray < Formula
def install
ENV.libxml2
args = %W[--prefix=#{prefix} --disable-dependency-tracking]
args << "--without-freetype" if build.without? "freetype"
system "./bootstrap" if build.head?
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "./configure", *args
system "make"
system "make install"
end