aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/formula.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-04-21 18:50:22 +0100
committerMike McQuaid2014-04-23 08:10:48 +0100
commit249aae177f3e6fb100c391c1f4562cc331c69d2e (patch)
tree2e9a6647b98bbb78d9161beba8e48d382f39abc5 /Library/Homebrew/compat/formula.rb
parent6cdc76452b34b8dfe6c7c99a077183bf2d65ebee (diff)
downloadbrew-249aae177f3e6fb100c391c1f4562cc331c69d2e.tar.bz2
formula: move cxxstdlib methods to the class.
This allows disabling this checks when e.g. pouring bottles.
Diffstat (limited to 'Library/Homebrew/compat/formula.rb')
-rw-r--r--Library/Homebrew/compat/formula.rb8
1 files changed, 8 insertions, 0 deletions
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