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:
parent
ed13440174
commit
8b1c3841cf
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue