mercurial: fix compilation on Snow Leopard

This commit is contained in:
Adam Vandenberg 2013-07-16 21:00:34 -07:00
parent 855b530bd6
commit 0b710c8988

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?