aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/diffpdf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/diffpdf.rb')
-rw-r--r--Library/Formula/diffpdf.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/diffpdf.rb b/Library/Formula/diffpdf.rb
index 15775363f..1d0c4fddc 100644
--- a/Library/Formula/diffpdf.rb
+++ b/Library/Formula/diffpdf.rb
@@ -3,9 +3,8 @@ require 'formula'
class PopplerQt4 < Requirement
fatal true
- def satisfied?
- poppler = Tab.for_formula 'poppler'
- poppler.installed_with? '--with-qt4'
+ satisfy :build_env => false do
+ Tab.for_formula("poppler").installed_with? "--with-qt4"
end
def message; <<-EOS.undent