Opened 14 years ago

Last modified 13 years ago

#23717 closed defect

git-core 1.7 : wrong path to python — at Version 5

Reported by: dechaume@… Owned by: bryan@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: haspatch Cc: maccheck@…, 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"

Change History (6)

Changed 14 years ago by dechaume@…

Attachment: Portfile added

comment:1 Changed 14 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 14 years ago by boydb@…

Cc: boydb@… added

Cc Me!

comment:3 Changed 14 years ago by boydb@…

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

comment:4 Changed 14 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 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.