[MacPorts] #60035: llvm-9.0: sh: pkg-config: command not found

MacPorts noreply at macports.org
Wed Apr 29 12:55:47 UTC 2020

#60035: llvm-9.0: sh: pkg-config: command not found
  Reporter:  ryandesign  |      Owner:  jeremyhu
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:  fixed       |   Keywords:
      Port:  llvm-9.0    |

Comment (by kencu):

 help me understand better please, I think this was different.

 Jeremy wrote this in an unusual way, with backtiks in the the cmake
 configure line to drive pkg-config for the ffi flags.

 without pkg-config, there was always a warning right after the cmake
 config line that pkg-config was not found, but never an error. Ryan opened
 a ticket about it.

 so I think the backtik line just produced an empty string for the ffi
 includes when pkg-config was not found, but it never actually errored. But
 it is used to generate the proper includes if it is found ( the warning is
 gone when pkgconfig is added).

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

More information about the macports-tickets mailing list