aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-27 20:45:26 -0700
committerAdam Vandenberg2013-06-27 20:45:26 -0700
commit6c5aa49ea0b69d24c6a5e444193fbdc7997f3ffb (patch)
tree8671b357e95372b6b0cdbfb37e3eceaf5c2207eb /Library/Formula
parentada605c2261dd6d29f7bd560eb10c5176b2c2611 (diff)
downloadhomebrew-6c5aa49ea0b69d24c6a5e444193fbdc7997f3ffb.tar.bz2
ghostscript: fix typo
Also use std env when djvu is requested. Closes #20787.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ghostscript.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb
index 7a055ff65..e8dc57f38 100644
--- a/Library/Formula/ghostscript.rb
+++ b/Library/Formula/ghostscript.rb
@@ -24,6 +24,9 @@ class Ghostscript < Formula
option 'with-djvu', 'Build drivers for DjVU file format'
+ # TODO - figure out why this is needed
+ env :std if build.include? 'with-djvu'
+
if build.head?
depends_on :automake
depends_on :libtool
@@ -64,7 +67,7 @@ class Ghostscript < Formula
(buildpath+'base').install 'gdevdjvu.c'
(buildpath+'lib').install 'ps2utf8.ps'
ENV['EXTRA_INIT_FILES'] = 'ps2utf8.ps'
- (buildpath/'base/contrib.mak').open('a').write(File.read('gsdjvi.mak'))
+ (buildpath/'base/contrib.mak').open('a').write(File.read('gsdjvu.mak'))
end
end