From 249aae177f3e6fb100c391c1f4562cc331c69d2e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 21 Apr 2014 18:50:22 +0100 Subject: formula: move cxxstdlib methods to the class. This allows disabling this checks when e.g. pouring bottles. --- Library/Homebrew/compat/formula.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Library/Homebrew/compat') diff --git a/Library/Homebrew/compat/formula.rb b/Library/Homebrew/compat/formula.rb index 509ff5d18..bbccb7a44 100644 --- a/Library/Homebrew/compat/formula.rb +++ b/Library/Homebrew/compat/formula.rb @@ -16,6 +16,14 @@ class Formula "-DCMAKE_INSTALL_PREFIX='#{prefix}' -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev" end + def cxxstdlib + self.class.cxxstdlib + end + + def cxxstdlib_check check_type + self.class.cxxstdlib_check check_type + end + def self.bottle_sha1(*) end -- cgit v1.2.3