From 1fbef27dfb69a21d9e6797e700a2a1dd9b3a2fe4 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Mon, 27 Jan 2014 13:06:11 -0800 Subject: python3: use real pre-existing python --- Library/Formula/python3.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library/Formula/python3.rb') diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb index b68a49627..063c52e3d 100644 --- a/Library/Formula/python3.rb +++ b/Library/Formula/python3.rb @@ -67,6 +67,10 @@ class Python3 < Formula ENV['PYTHONHOME'] = nil ENV['PYTHONPATH'] = nil + # Otherwise the formula may attempt to use the python3 shim + # even though python3 isn't installed yet + ENV['PYTHON'] = 'python' + args = %W[ --prefix=#{prefix} --enable-ipv6 -- cgit v1.2.3