aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/poppler.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-06 22:58:35 -0700
committerAdam Vandenberg2010-08-07 18:08:53 -0700
commitd0efd9ee94a55e243f3b10e903526274fc21d569 (patch)
treeb21984390a0292957a3819df57c62bac558d284d /Library/Formula/poppler.rb
parentcdf768bc328f01e64e9f74551ff4b40d5cf0da70 (diff)
downloadhomebrew-d0efd9ee94a55e243f3b10e903526274fc21d569.tar.bz2
Update formulae for version 0.7
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
Diffstat (limited to 'Library/Formula/poppler.rb')
-rw-r--r--Library/Formula/poppler.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/Library/Formula/poppler.rb b/Library/Formula/poppler.rb
index 608ab03fc..2a16f17a1 100644
--- a/Library/Formula/poppler.rb
+++ b/Library/Formula/poppler.rb
@@ -24,14 +24,10 @@ class Poppler <Formula
ENV['POPPLER_QT4_CFLAGS'] = qt4Flags
end
- configureArgs = [
- "--prefix=#{prefix}",
- "--disable-dependency-tracking"
- ]
+ args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
+ args << "--disable-poppler-qt4" unless ARGV.include? "--with-qt4"
- configureArgs << "--disable-poppler-qt4" unless ARGV.include? "--with-qt4"
-
- system "./configure", *configureArgs
+ system "./configure", *args
system "make install"
# Install poppler font data.