aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-01-29 12:13:04 -0800
committerAdam Vandenberg2013-01-29 12:13:04 -0800
commitaef64d08ae32704b488b712033f7f48f144bac51 (patch)
treeedbbf865d515eda5948349922a38d70b685398f2 /Library
parentefdabb131c03b9b71b292f758587148c19c458ff (diff)
downloadhomebrew-aef64d08ae32704b488b712033f7f48f144bac51.tar.bz2
Remove gmock.
Gmock and GTest should not be installed system-wide. Closes #17358.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gmock.rb13
-rw-r--r--Library/Homebrew/blacklist.rb8
2 files changed, 8 insertions, 13 deletions
diff --git a/Library/Formula/gmock.rb b/Library/Formula/gmock.rb
deleted file mode 100644
index d2ccbb806..000000000
--- a/Library/Formula/gmock.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-require 'formula'
-
-class Gmock < Formula
- url 'http://googlemock.googlecode.com/files/gmock-1.5.0.tar.bz2'
- homepage 'http://code.google.com/p/googlemock/'
- sha1 '76d8f5a221c93105304d71e33391dc70af573d6a'
-
- def install
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
- system "make"
- system "make install"
- end
-end
diff --git a/Library/Homebrew/blacklist.rb b/Library/Homebrew/blacklist.rb
index 8cd3b1a2d..a6b3379f1 100644
--- a/Library/Homebrew/blacklist.rb
+++ b/Library/Homebrew/blacklist.rb
@@ -39,5 +39,13 @@ def blacklisted? name
Xcode can be installed via the App Store (on Lion or newer), or from:
http://connect.apple.com/
EOS
+ when 'gtest', 'googletest', 'google-test' then <<-EOS.undent
+ Installing gtest system-wide is not recommended; it should be vendored
+ in your projects that use it.
+ EOS
+ when 'gmock', 'googlemock', 'google-mock' then <<-EOS.undent
+ Installing gmock system-wide is not recommended; it should be vendored
+ in your projects that use it.
+ EOS
end
end