mercurial: fix compilation on Snow Leopard

master
Adam Vandenberg 2013-07-16 21:00:34 -07:00
parent 855b530bd6
commit 0b710c8988
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ class Mercurial < Formula
depends_on :python => 'docutils' if build.include? 'enable-docs'
def install
ENV.minimal_optimization if MacOS.version <= :snow_leopard
python do
# Inside this python do block, the PYTHONPATH (and more) is alreay set up
if python.from_osx? && !MacOS::CLT.installed?