[MacPorts] #62698: restrictive patch to CMake's find frameworks algorithm

MacPorts noreply at macports.org
Wed Apr 14 13:33:46 UTC 2021


#62698: restrictive patch to CMake's find frameworks algorithm
--------------------+--------------------
 Reporter:  RJVB    |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  cmake
--------------------+--------------------
 I think the patch to `patch-CMakeFindFrameworks.cmake.diff` has become too
 restrictive by *replacing* the search location `/usr/local/Frameworks`
 with MacPorts's own frameworks install dir.

 This would be fine if CMake were used exclusively for building by MacPorts
 and/or for building software targetting $prefix and depending only on
 software under that location. But CMake is a build tool that users might
 use to build software targetting other locations (they should, in fact)
 and depending on software not installed through MacPorts.

 Older versions of this patch simply added the MacPorts location ahead of
 the /usr/local location and that should still be a sufficient solution
 that does not break the aforementioned kind of builds.

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


More information about the macports-tickets mailing list