Ticket #27493 (closed defect: fixed)
git-core @126.96.36.199 Setting PYTHON_PATH arg for build, but not for destroot
|Reported by:||corwin.amber@…||Owned by:||maccheck@…|
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
- Keywords haspatch added
- Cc maccheck@… removed
- Owner changed from macports-tickets@… to maccheck@…