[MacPorts] #63439: toxiproxy @2.1.5: sh: {MACPORTS_LEGACY_SUPPORT_LDFLAGS=-L/opt/local/lib: No such file or directory

MacPorts noreply at macports.org
Wed Oct 9 15:18:06 UTC 2024


#63439: toxiproxy @2.1.5: sh: {MACPORTS_LEGACY_SUPPORT_LDFLAGS=-L/opt/local/lib: No
such file or directory
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  amake
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:  fixed       |   Keywords:
      Port:  toxiproxy   |
-------------------------+--------------------

Comment (by jmroot):

 For reference, if you ever do actually need to use a *.env option to set
 the environment in a `system` command, this is how you can do it:
 {{{
 set envargs [lmap e ${build.env} {shellescape $e}]
 system "env [join $envargs] ..."
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63439#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list