From 099c8c15ae963dea644a1ffb365f82d2b2dcb4e4 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 30 May 2014 18:11:25 -0500 Subject: Deprecate implicit build-time requirements --- Library/Homebrew/requirement.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/requirement.rb b/Library/Homebrew/requirement.rb index b3acbe665..342403775 100644 --- a/Library/Homebrew/requirement.rb +++ b/Library/Homebrew/requirement.rb @@ -102,7 +102,9 @@ class Requirement end class << self - attr_rw :fatal, :build, :default_formula + attr_rw :fatal, :default_formula + # build is deprecated, use `depends_on => :build` instead + attr_rw :build def satisfy(options={}, &block) @satisfied ||= Requirement::Satisfier.new(options, &block) -- cgit v1.2.3