diff options
| author | Jack Nagel | 2014-03-14 19:16:33 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-14 19:24:40 -0500 |
| commit | fb38596a8a32a94a37761f3f4a3f9221b5a917fa (patch) | |
| tree | d524ed58bc9637956704d21939b57e4d58dc7a9e /Library/Formula/ghostscript.rb | |
| parent | 4a69bd1c433f74156cc74126bc66b0ecc079b35f (diff) | |
| download | homebrew-fb38596a8a32a94a37761f3f4a3f9221b5a917fa.tar.bz2 | |
ghostscript: fix patching file that differs between stable and HEAD
This is fragile but unfortunately it's required.
Fixes #27550.
Diffstat (limited to 'Library/Formula/ghostscript.rb')
| -rw-r--r-- | Library/Formula/ghostscript.rb | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb index b482e5a4e..dd05cd4b6 100644 --- a/Library/Formula/ghostscript.rb +++ b/Library/Formula/ghostscript.rb @@ -2,8 +2,13 @@ require 'formula' class Ghostscript < Formula homepage 'http://www.ghostscript.com/' - url 'http://downloads.ghostscript.com/public/ghostscript-9.10.tar.gz' - sha1 '29d6538ae77565c09f399b06455e94e7bcd83d01' + + stable do + url 'http://downloads.ghostscript.com/public/ghostscript-9.10.tar.gz' + sha1 '29d6538ae77565c09f399b06455e94e7bcd83d01' + + patch :DATA # Uncomment OS X-specific make vars + end bottle do sha1 "be9d9be82c03ac8409994fee0cc638d20ceb145c" => :mavericks @@ -21,6 +26,12 @@ class Ghostscript < Formula depends_on :autoconf depends_on :automake depends_on :libtool + + # Uncomment OS X-specific make vars + patch do + url "https://gist.githubusercontent.com/jacknagel/9559501/raw/9709b3234cc888d29f717838650d29e7062da917/gs.patch" + sha1 "65c99df4f0d57368a086154d34722f5c4b9c84cc" + end end option 'with-djvu', 'Build drivers for DjVU file format' @@ -49,11 +60,6 @@ class Ghostscript < Formula sha1 'c7d0677dae5fe644cf3d714c04b3c2c343906342' end - # Fix dylib names, per installation instructions - def patches - DATA - end - def move_included_source_copies # If the install version of any of these doesn't match # the version included in ghostscript, we get errors |
