From 5b53aa5557562b04401126fde2dbf95812c0d069 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Mon, 27 Mar 2017 14:27:57 -0700 Subject: [PATCH] gnuplot: remove tex option (#11677) --- Formula/gnuplot.rb | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Formula/gnuplot.rb b/Formula/gnuplot.rb index 9c6d9f5844..a4b9b6fa00 100644 --- a/Formula/gnuplot.rb +++ b/Formula/gnuplot.rb @@ -22,7 +22,6 @@ class Gnuplot < Formula option "without-lua", "Build without the lua/TikZ terminal" option "with-test", "Verify the build with make check" option "with-wxmac", "Build wxmac support. Need with-cairo to build wxt terminal" - option "with-tex", "Build with LaTeX support" option "with-aquaterm", "Build with AquaTerm support" option "without-gd", "Build without gd based terminals" option "with-libcerf", "Build with libcerf support" @@ -37,8 +36,6 @@ class Gnuplot < Formula deprecated_option "nolua" => "without-lua" deprecated_option "tests" => "with-test" deprecated_option "with-tests" => "with-test" - deprecated_option "latex" => "with-tex" - deprecated_option "with-latex" => "with-tex" depends_on "pkg-config" => :build depends_on "gd" => :recommended @@ -48,7 +45,6 @@ class Gnuplot < Formula depends_on "pdflib-lite" => :optional depends_on "qt@5.7" => :optional depends_on "wxmac" => :optional - depends_on :tex => :optional depends_on :x11 => :optional needs :cxx11 if build.with? "qt@5.7" @@ -88,6 +84,7 @@ class Gnuplot < Formula --disable-silent-rules --prefix=#{prefix} --with-readline=#{Formula["readline"].opt_prefix} + --without-latex ] args << "--without-libcerf" if build.without? "libcerf" @@ -115,12 +112,6 @@ class Gnuplot < Formula args << ((build.with? "aquaterm") ? "--with-aquaterm" : "--without-aquaterm") args << ((build.with? "x11") ? "--with-x" : "--without-x") - if build.with? "tex" - args << "--with-latex" - else - args << "--without-latex" - end - system "./prepare" if build.head? system "./configure", *args ENV.deparallelize # or else emacs tries to edit the same file with two threads