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.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/diffpdf.rb b/Library/Formula/diffpdf.rb
index 3082a1b2b..15775363f 100644
--- a/Library/Formula/diffpdf.rb
+++ b/Library/Formula/diffpdf.rb
@@ -1,15 +1,13 @@
require 'formula'
class PopplerQt4 < Requirement
+ fatal true
+
def satisfied?
poppler = Tab.for_formula 'poppler'
poppler.installed_with? '--with-qt4'
end
- def fatal?
- true
- end
-
def message; <<-EOS.undent
DiffPDF requires the Poppler-Qt4 bindings but Poppler was not installed
with support for Qt. Please reinstall Poppler using the `--with-qt4`