diff options
| author | Jack Nagel | 2012-06-06 20:35:12 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-07-01 12:41:00 -0500 |
| commit | a2d4d9d832e60e2b007990f394b22e77b6dfa3ba (patch) | |
| tree | 61d17f0eb86471a00b2bf117d13f067f73e372b8 /Library/Formula/ghostscript.rb | |
| parent | 06c2ea036322bd1d05330711aa41273cddc77ede (diff) | |
| download | homebrew-a2d4d9d832e60e2b007990f394b22e77b6dfa3ba.tar.bz2 | |
Update formulae for XQuartz compatibility
Diffstat (limited to 'Library/Formula/ghostscript.rb')
| -rw-r--r-- | Library/Formula/ghostscript.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb index 87e3f82b4..57b7bc90d 100644 --- a/Library/Formula/ghostscript.rb +++ b/Library/Formula/ghostscript.rb @@ -18,6 +18,7 @@ class Ghostscript < Formula depends_on 'libtiff' depends_on 'jbig2dec' depends_on 'little-cms2' + depends_on :libpng if ARGV.build_head? and MacOS.xcode_version >= "4.3" depends_on "automake" => :build @@ -36,10 +37,9 @@ class Ghostscript < Formula end def install - ENV.libpng ENV.deparallelize # ghostscript configure ignores LDFLAGs apparently - ENV['LIBS'] = "-L/usr/X11/lib" + ENV['LIBS'] = "-L#{MacOS.x11_prefix}/lib" src_dir = ARGV.build_head? ? "gs" : "." |
