aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-09-27 00:52:51 -0700
committerCharlie Sharpsteen2011-09-27 00:52:51 -0700
commit76c5b285c1afb2b102c1d592fcd120b71b1d1505 (patch)
treee4b9f15a8d6dd3254dc746d77711fddf8d424e9b /Library
parent0a7fcbe6ab9889fe202e42767c60111f3daf1dde (diff)
downloadhomebrew-76c5b285c1afb2b102c1d592fcd120b71b1d1505.tar.bz2
Poppler: Enable XPDF headers by default
Some software depends on these headers. Also, they don't take up much space so there is really no reason to leave them out.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/poppler.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/poppler.rb b/Library/Formula/poppler.rb
index 1971966c9..579fd1404 100644
--- a/Library/Formula/poppler.rb
+++ b/Library/Formula/poppler.rb
@@ -21,8 +21,7 @@ class Poppler < Formula
def options
[
["--with-qt4", "Build Qt backend"],
- ["--with-glib", "Build Glib backend"],
- ["--enable-xpdf-headers", "Also install XPDF headers"]
+ ["--with-glib", "Build Glib backend"]
]
end
@@ -34,12 +33,11 @@ class Poppler < Formula
ENV.append 'LDFLAGS', "-Wl,-F#{HOMEBREW_PREFIX}/lib"
end
- args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
+ args = ["--disable-dependency-tracking", "--prefix=#{prefix}", "--enable-xpdf-headers"]
# Explicitly disable Qt if not requested because `POPPLER_QT4_CFLAGS` won't
# be set and the build will fail.
args << ( qt? ? '--enable-poppler-qt4' : '--disable-poppler-qt4' )
args << '--enable-poppler-glib' if glib?
- args << "--enable-xpdf-headers" if ARGV.include? "--enable-xpdf-headers"
system "./configure", *args
system "make install"