diff options
| author | Mike McQuaid | 2014-04-21 18:50:22 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-04-23 08:10:48 +0100 |
| commit | dbef6080c25c96e4cd67146be53ddcf0e0b3d521 (patch) | |
| tree | 084021afd7ce1dd7b89a0c5ec7b5dbb99ec67adb /Library/Homebrew/compat/formula.rb | |
| parent | 24cc097d27661169e5b96da8ddb4b8cfebbc5086 (diff) | |
| download | homebrew-dbef6080c25c96e4cd67146be53ddcf0e0b3d521.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.rb | 8 |
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 |
