aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cvs2svn.rb
diff options
context:
space:
mode:
authorJack Nagel2013-01-18 19:30:43 -0600
committerJack Nagel2013-01-18 19:30:43 -0600
commit43f2bfaafcbc53a39aedf384186b604c1834af2e (patch)
treec42688c170f8092be80a3bca20df26af125822a0 /Library/Formula/cvs2svn.rb
parent8eddbd5404fb31cc9ddaead5f14d7076ec59a2cd (diff)
downloadhomebrew-43f2bfaafcbc53a39aedf384186b604c1834af2e.tar.bz2
Use fatal DSL method in requirements
Diffstat (limited to 'Library/Formula/cvs2svn.rb')
-rw-r--r--Library/Formula/cvs2svn.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/cvs2svn.rb b/Library/Formula/cvs2svn.rb
index 2f47a8ea4..e6bf23943 100644
--- a/Library/Formula/cvs2svn.rb
+++ b/Library/Formula/cvs2svn.rb
@@ -1,6 +1,8 @@
require 'formula'
class PythonWithGdbm < Requirement
+ fatal true
+
def message; <<-EOS.undent
The Python being used does not include gdbm support,
but it is required to build this formula:
@@ -14,10 +16,6 @@ class PythonWithGdbm < Requirement
def satisfied?
quiet_system "python", "-c", "import gdbm"
end
-
- def fatal?
- true
- end
end
class Cvs2svn < Formula