[MacPorts] #58934: 'stack' port does not build solely from a MacPorts mirror

MacPorts noreply at macports.org
Sun Sep 29 23:27:10 UTC 2019


#58934: 'stack' port does not build solely from a MacPorts mirror
-----------------------+-----------------------
  Reporter:  greyhare  |      Owner:  essandess
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:
      Port:  stack     |
-----------------------+-----------------------

Comment (by essandess):

 Replying to [comment:20 kencu]:
 > stack is finding the wrong `git` on older systems because of this, I
 believe:
 > {{{
 > # the PATH environment must provide /usr/bin/gcc, not ${prefix}/bin/gcc
 > # note: this command does not change the destroot PATH environment, so
 export
 > # PATH explicitly in the necessary system command below
 > build.env \
 >     PATH=/usr/bin:$env(PATH) \
 >     PREFIX=${prefix} \
 >     CC=${system_gcc}
 > }}}

 Thanks @kencu. If so, then PR https://github.com/macports/macports-
 ports/pull/5275 will fix this issue.

 @mk2k @mojca @ ryandesign Would you please merge these Haskell-related PRs
 so this can be tested?
 * https://github.com/macports/macports-ports/pull/5275
 * https://github.com/macports/macports-ports/pull/5272
 * https://github.com/macports/macports-ports/pull/5327

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


More information about the macports-tickets mailing list