From 0998b4eb8b1a2cc50c0fa4b3ae78eecfa519847f Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 24 Nov 2018 11:52:49 +0000 Subject: [PATCH] ttfautohint: remove with-qt option. Used by ~10% of installs (https://formulae.brew.sh/formula/ttfautohint) and reported broken in #34257. Fixes #34257. --- Formula/ttfautohint.rb | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/Formula/ttfautohint.rb b/Formula/ttfautohint.rb index 2d0ad13a5b..a34825d725 100644 --- a/Formula/ttfautohint.rb +++ b/Formula/ttfautohint.rb @@ -21,36 +21,22 @@ class Ttfautohint < Formula depends_on "pkg-config" => :build end - option "with-qt", "Build ttfautohintGUI also" - - deprecated_option "with-qt5" => "with-qt" - depends_on "pkg-config" => :build depends_on "freetype" depends_on "harfbuzz" depends_on "libpng" - depends_on "qt" => :optional def install - args = %W[ - --disable-dependency-tracking - --disable-silent-rules - --prefix=#{prefix} - --without-doc - ] - - args << "--without-qt" if build.without? "qt" - system "./bootstrap" if build.head? - system "./configure", *args + system "./configure", "--disable-dependency-tracking", + "--disable-silent-rules", + "--prefix=#{prefix}", + "--without-doc", + "--without-qt" system "make", "install" end test do - if build.with? "qt" - system "#{bin}/ttfautohintGUI", "-V" - else - system "#{bin}/ttfautohint", "-V" - end + system "#{bin}/ttfautohint", "-V" end end