Opened 15 years ago

Closed 14 years ago

#23717 closed defect (fixed)

git-core 1.7 : wrong path to python

Reported by: dechaume@… Owned by: maccheck@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: haspatch Cc: boydb@…
Port: git-core

Description (last modified by ryandesign (Ryan Carsten Schmidt))

At building and staging, I got

make[1]: /usr/bin/python: Command not found

I just had to append the following to the .args:

PYTHON_PATH="${prefix}/bin/python"

Attachments (1)

Portfile (5.1 KB) - added by dechaume@… 15 years ago.

Download all attachments as: .zip

Change History (8)

Changed 15 years ago by dechaume@…

Attachment: Portfile added

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: maccheck@… added
Keywords: haspatch added; git-core 1.7 python path removed
Owner: changed from macports-tickets@… to bryan@…

comment:2 Changed 15 years ago by boydb@…

Cc: boydb@… added

Cc Me!

comment:3 Changed 15 years ago by boydb@…

Adding PYTHON_PATH to all instances of *.args in the Portfile worked for me on 10.4

comment:4 Changed 15 years ago by raimue (Rainer Müller)

No port provides the path ${prefix}/bin/python, it is wrong to use this. If git requires python to build, it needs a dependency on one of the pythonXY ports and should use ${prefix}/bin/pythonX.Y.

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Cc: maccheck@… removed
Owner: changed from bryan@… to maccheck@…

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

This was fixed in r70965 and r73962.

Note: See TracTickets for help on using tickets.