ghostscript: remove X11 option.

See #13133 and #31510.
This commit is contained in:
Mike McQuaid 2018-12-22 11:28:55 +00:00 committed by FX Coudert
parent 90afcc3355
commit b73bef192a

View file

@ -21,7 +21,6 @@ class Ghostscript < Formula
depends_on "pkg-config" => :build
depends_on "libtiff"
depends_on :x11 => :optional
# https://sourceforge.net/projects/gs-fonts/
resource "fonts" do
@ -40,8 +39,8 @@ class Ghostscript < Formula
--disable-fontconfig
--without-libidn
--with-system-libtiff
--without-x
]
args << "--without-x" if build.without? "x11"
if build.head?
system "./autogen.sh", *args