aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authornibbles 2bits2012-08-31 09:47:41 -0700
committerMisty De Meo2012-08-31 12:04:02 -0500
commit3e084bf307e1133452c64ebf03709a57a958a6c8 (patch)
tree0c71faffc8a0d537b605acdaf24166b93f4ad52d /Library
parent346a4a665e5dd2d2d432e4db6b645fc7f727243f (diff)
downloadhomebrew-3e084bf307e1133452c64ebf03709a57a958a6c8.tar.bz2
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 <mistydemeo@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ghostscript.rb3
1 files changed, 1 insertions, 2 deletions
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?