aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_installer.rb
diff options
context:
space:
mode:
authorJack Nagel2015-01-01 01:21:59 -0500
committerJack Nagel2015-01-03 22:39:07 -0500
commita52143c63c771db1ce4eaee23022696b4519be03 (patch)
treeaaad7af0c06287a47a995659c5ae9d056a9ce31b /Library/Homebrew/formula_installer.rb
parenta2a24b3a0da6272a4f24828a40e3d70bd948e7af (diff)
downloadbrew-a52143c63c771db1ce4eaee23022696b4519be03.tar.bz2
Remove readline and zlib hacks
Diffstat (limited to 'Library/Homebrew/formula_installer.rb')
-rw-r--r--Library/Homebrew/formula_installer.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 3515c66de..b37b65fe6 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -190,14 +190,6 @@ class FormulaInstaller
opoo "Nothing was installed to #{formula.prefix}" unless formula.installed?
end
- # HACK: If readline is present in the dependency tree, it will clash
- # with the stdlib's Readline module when the debugger is loaded
- def perform_readline_hack
- if (formula.recursive_dependencies.any? { |d| d.name == "readline" } || formula.name == "readline") && debug?
- ENV['HOMEBREW_NO_READLINE'] = '1'
- end
- end
-
def check_conflicts
return if ARGV.force?
@@ -210,8 +202,6 @@ class FormulaInstaller
end
def compute_and_install_dependencies
- perform_readline_hack
-
req_map, req_deps = expand_requirements
check_requirements(req_map)