From 3e084bf307e1133452c64ebf03709a57a958a6c8 Mon Sep 17 00:00:00 2001 From: nibbles 2bits Date: Fri, 31 Aug 2012 09:47:41 -0700 Subject: ghostscript: add `--without-x` gs-9.06 is designed to build with only `:libpng` these days, but it fails to compile with superenv unless we specify that we don't want to build with X11. * Remove the `ENV['LIBS'] = some/X11/path` * Add `--without-x` to fix a build error. Fixes #14564 Closes #14596. Signed-off-by: Misty De Meo --- Library/Formula/ghostscript.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Library/Formula/ghostscript.rb') diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb index 15dd645b7..4c999f0e3 100644 --- a/Library/Formula/ghostscript.rb +++ b/Library/Formula/ghostscript.rb @@ -43,8 +43,6 @@ class Ghostscript < Formula def install ENV.deparallelize - # ghostscript configure ignores LDFLAGs apparently - ENV['LIBS'] = "-L#{MacOS::X11.lib}" if MacOS::X11.installed? src_dir = build.head? ? "gs" : "." @@ -56,6 +54,7 @@ class Ghostscript < Formula --disable-compile-inits --disable-gtk --with-system-libtiff + --without-x ] if build.head? -- cgit v1.2.3