Opened 14 years ago
Closed 14 years ago
#27493 closed defect (fixed)
git-core @1.7.3.2 Setting PYTHON_PATH arg for build, but not for destroot
Reported by: | corwin.amber@… | Owned by: | maccheck@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | haspatch | Cc: | drkp (Dan Ports) |
Port: | git-core |
Description
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
Attachments (2)
Change History (5)
Changed 14 years ago by corwin.amber@…
Attachment: | macports_git-core.diff added |
---|
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Cc: | maccheck@… removed |
---|---|
Keywords: | haspatch added |
Owner: | changed from macports-tickets@… to maccheck@… |
Changed 14 years ago by maccheck@…
Attachment: | Portfile.patch added |
---|
comment:2 Changed 14 years ago by maccheck@…
I checked that patch and can confirm that it is working properly. I added Portfile.patch with increased revision no.
comment:3 Changed 14 years ago by drkp (Dan Ports)
Cc: | dports@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Committed in r73962.
Note: See
TracTickets for help on using
tickets.
I have used this patch successfully in this case (gen by svn diff).