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