[MacPorts] #65713: libfmt8/libfmt9 change makes libfmt unusable OOB with external software,

MacPorts noreply at macports.org
Tue Aug 23 19:03:50 UTC 2022


#65713: libfmt8/libfmt9 change makes libfmt unusable OOB with external software,
-------------------------------------+--------------------
  Reporter:  Lord-Kamina             |      Owner:  (none)
      Type:  defect                  |     Status:  new
  Priority:  Normal                  |  Milestone:
 Component:  ports                   |    Version:
Resolution:                          |   Keywords:
      Port:  libfmt libfmt8 libfmt9  |
-------------------------------------+--------------------

Comment (by mascguy):

 Unfortunately it's extremely problematic if we install headers and libs
 directly in `${prefix}/include` and `${prefix}/lib`, now that we support
 multiple versions installed side-by-side. And adding a symlink is going to
 cause compilation issues for other ports, so you ''really'' don't want to
 do that.

 Instead, it's trivial to update projects. You simply need to add the
 appropriate search path, for the version you want:
 * For `pkgconfig` (usually covers CMake too, along with Ninja):
 `${prefix}/lib/libfmtX/pkgconfig`
 * For pure CMake: `${prefix}/lib/libfmtX/cmake`

 If you can share info regarding the specific project you're working with,
 I can provide guidance specific to it.

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


More information about the macports-tickets mailing list