diff --git a/Library/Homebrew/compat/compatibility.rb b/Library/Homebrew/compat/compatibility.rb index b6e01b290c..41874e0639 100644 --- a/Library/Homebrew/compat/compatibility.rb +++ b/Library/Homebrew/compat/compatibility.rb @@ -75,6 +75,8 @@ class Formula # This used to be called in "def install", but should now be used # up in the DSL section. def fails_with_llvm msg=nil, data=nil + opoo "Calling fails_with_llvm in the install method is deprecated" + puts "Use the fails_with DSL instead." FailsWithLLVM.new(msg, data).handle_failure end