Opened 15 years ago

Closed 9 years ago

#19783 closed enhancement (wontfix)

scons: add ${prefix}/bin to PATH in Platform/darwin.py

Reported by: macports@… Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: scons

Description

It might be useful to add the MacPorts directory /opt/local/bin to the default PATH of the MacOSX/Darwin Platform in Scons. The Fink path is already included, see http://scons.tigris.org/issues/show_bug.cgi?id=2 and /opt/local/lib/scons-1.2.0/SCons/Platform/darwin.py for reference.

Attachments (2)

patch-darwin.py.diff (398 bytes) - added by mfeiri 13 years ago.
Portfile.diff (770 bytes) - added by mfeiri 13 years ago.

Download all attachments as: .zip

Change History (7)

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

In my opinion the Fink path should be removed to avoid problems due to cross-linking.

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: landonf@… removed
Owner: changed from macports-tickets@… to landonf@…

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Keywords: scons removed
Summary: scons 1.2.0 add /opt/local/bin to Platform/darwin.pyscons: add ${prefix}/bin to PATH in Platform/darwin.py
Version: 1.7.1

Changed 13 years ago by mfeiri

Attachment: patch-darwin.py.diff added

Changed 13 years ago by mfeiri

Attachment: Portfile.diff added

comment:4 Changed 9 years ago by jmroot (Joshua Root)

FWIW, upstream added /opt/local/bin to that line, but seems to have decided that it was a bad idea in the first place, and commented it out, saying that people who need fink or macports paths can add them themselves.

comment:5 Changed 9 years ago by mfeiri

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.