[MacPorts] #60618: legacy-support: which replacement on Tiger not fully functional

MacPorts noreply at macports.org
Mon Jun 8 19:11:29 UTC 2020


#60618: legacy-support: which replacement on Tiger not fully functional
--------------------+-------------------------------------------------
 Reporter:  kencu   |      Owner:  kencu
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:  Tiger   |       Port:  legacy-support legacy-support-devel
--------------------+-------------------------------------------------
 On Tiger, the {{{which}}} command has been modified slightly in {{{legacy-
 support}}} to make it match newer systems, to allow Makefiles and shell
 scripts to work as expected. It appears there is still some work to do on
 this.

 This command, for example, functions correctly with a newer system
 {{{which}}}:
 {{{
 $ which autoconf-2.13 autoconf2.13 autoconf213
 /opt/local/bin/autoconf213
 }}}
 but using our modified Tiger {{{which}}}, it doesn't function as expected:
 {{{
 /opt/macports-legacy-support/tiger_only/bin/which autoconf-2.13
 autoconf2.13 autoconf213

 -- returns nothing --
 }}}

 The {{{which}}} command on Tiger is a simple shell script, so hopefully
 won't be terribly hard to fix properly.

 PS -- if you're interested, the {{{which}}} command in {{{legacy-
 support}}} is available here to try on any system
 <https://github.com/macports/macports-legacy-
 support/blob/master/tiger_only/bin/which>

-- 
Ticket URL: <https://trac.macports.org/ticket/60618>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list