diff options
| author | Jack Nagel | 2013-01-18 19:30:43 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-01-18 19:30:43 -0600 |
| commit | 43f2bfaafcbc53a39aedf384186b604c1834af2e (patch) | |
| tree | c42688c170f8092be80a3bca20df26af125822a0 /Library/Formula/pdf2svg.rb | |
| parent | 8eddbd5404fb31cc9ddaead5f14d7076ec59a2cd (diff) | |
| download | homebrew-43f2bfaafcbc53a39aedf384186b604c1834af2e.tar.bz2 | |
Use fatal DSL method in requirements
Diffstat (limited to 'Library/Formula/pdf2svg.rb')
| -rw-r--r-- | Library/Formula/pdf2svg.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/pdf2svg.rb b/Library/Formula/pdf2svg.rb index 65bb295b9..a36575477 100644 --- a/Library/Formula/pdf2svg.rb +++ b/Library/Formula/pdf2svg.rb @@ -1,15 +1,13 @@ require 'formula' class PopplerGlib < Requirement + fatal true + def satisfied? poppler = Tab.for_formula 'poppler' poppler.installed_with? '--with-glib' end - def fatal? - true - end - def message; <<-EOS.undent pdf2svg requires the Poppler-Glib bindings but Poppler was not installed with support for glib. Please reinstall Poppler using the `--with-glib` |
