aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb24
1 files changed, 12 insertions, 12 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index d21fc48b1..9b8de904e 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -439,12 +439,6 @@ class Formula
Requirement.expand(self, &block)
end
- # Flag for marking whether this formula needs C++ standard library
- # compatibility check
- def cxxstdlib
- @cxxstdlib ||= Set.new
- end
-
def to_hash
hsh = {
"name" => name,
@@ -607,12 +601,6 @@ class Formula
active_spec.patches.each(&:apply)
end
- # Explicitly request changing C++ standard library compatibility check
- # settings. Use with caution!
- def cxxstdlib_check check_type
- cxxstdlib << check_type
- end
-
def self.method_added method
case method
when :brew
@@ -730,6 +718,18 @@ class Formula
@keg_only_reason = KegOnlyReason.new(reason, explanation.to_s.chomp)
end
+ # Flag for marking whether this formula needs C++ standard library
+ # compatibility check
+ def cxxstdlib
+ @cxxstdlib ||= Set.new
+ end
+
+ # Explicitly request changing C++ standard library compatibility check
+ # settings. Use with caution!
+ def cxxstdlib_check check_type
+ cxxstdlib << check_type
+ end
+
# For Apple compilers, this should be in the format:
# fails_with compiler do
# cause "An explanation for why the build doesn't work."