aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/enchant.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/enchant.rb b/Library/Formula/enchant.rb
index 56353ad19..2d331c8e0 100644
--- a/Library/Formula/enchant.rb
+++ b/Library/Formula/enchant.rb
@@ -26,6 +26,8 @@ class Enchant < Formula
if build.with? 'python'
# Now we handle the python bindings from the subformulae PyEnchant
PyEnchant.new.brew do
+ # Don't download and install distribute now
+ inreplace 'setup.py', "distribute_setup.use_setuptools()", ""
python do
ENV['PYENCHANT_LIBRARY_PATH'] = lib/'libenchant.dylib'
system python, 'setup.py', 'install', "--prefix=#{prefix}",