aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/wxmac.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/wxmac.rb
parent8eddbd5404fb31cc9ddaead5f14d7076ec59a2cd (diff)
downloadhomebrew-43f2bfaafcbc53a39aedf384186b604c1834af2e.tar.bz2
Use fatal DSL method in requirements
Diffstat (limited to 'Library/Formula/wxmac.rb')
-rw-r--r--Library/Formula/wxmac.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/wxmac.rb b/Library/Formula/wxmac.rb
index 7947416d6..09af04e83 100644
--- a/Library/Formula/wxmac.rb
+++ b/Library/Formula/wxmac.rb
@@ -1,6 +1,8 @@
require 'formula'
class FrameworkPython < Requirement
+ fatal true
+
def message; <<-EOS.undent
Python needs to be built as a framework.
EOS
@@ -9,7 +11,6 @@ class FrameworkPython < Requirement
q = `python -c "import distutils.sysconfig as c; print(c.get_config_var('PYTHONFRAMEWORK'))"`
not q.chomp.empty?
end
- def fatal?; true; end
end
class Wxmac < Formula