[MacPorts] #27493: git-core @1.7.3.2 Setting PYTHON_PATH arg for build, but not for destroot

MacPorts noreply at macports.org
Mon Nov 29 09:50:04 PST 2010


#27493: git-core @1.7.3.2 Setting PYTHON_PATH arg for build, but not for destroot
------------------------------------+---------------------------------------
 Reporter:  corwin.amber@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.9.2                                
 Keywords:                          |        Port:  git-core                             
------------------------------------+---------------------------------------
 The Makefile used by {{{git}}} uses the variable {{{PYTHON_PATH}}} to find
 the Python executable. During {{{configure}}} and {{{make}}}, this
 variable is correctly set to {{{/opt/local/bin/python2.6}}}, but for
 {{{make install}}} this variable is not set and defaults to
 {{{/usr/bin/python}}}. So it's using the system Python rather than the
 MacPorts Python.

 This causes difficulties esp. when you have {{{macosx_deployment_target}}}
 set in your {{{macports.conf}}}.

 {{{
 distutils.errors.DistutilsPlatformError:
 $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.5" but "10.6" during configure
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/27493>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list