[MacPorts] #67502: elmerfem: some errors with the port on specific macOS versions

MacPorts noreply at macports.org
Fri May 26 12:37:04 UTC 2023


#67502: elmerfem: some errors with the port on specific macOS versions
---------------------------+--------------------------
  Reporter:  barracuda156  |      Owner:  barracuda156
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:
      Port:  elmerfem      |
---------------------------+--------------------------

Comment (by barracuda156):

 Replying to [comment:5 ryandesign]:
 > Re wrong dylib paths, I would not be surprised if this is not the fault
 of elmerfem but of the cmake portgroup. The cmake portgroup includes a lot
 of well-meaning defaults that sometimes override things in the project's
 cmake files which have unexpected results. For example, elmerfem's
 CMakeLists.txt seems designed to force the use of relative paths and rpath
 on macOS, but the cmake portgroup disables that and overrides the
 project's own install names with
 `-DCMAKE_INSTALL_NAME_DIR="${cmake.install_prefix}/lib"`.

 Oh, okay. Thank you, this seems plausible. I can try dropping PG-added
 flags.

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


More information about the macports-tickets mailing list