[MacPorts] #71791: libtommath @1.3.0: pkg-config file has cmake variables embedded in it

MacPorts noreply at macports.org
Sat Feb 8 07:38:48 UTC 2025


#71791: libtommath @1.3.0: pkg-config file has cmake variables embedded in it
-------------------------+--------------------
  Reporter:  bll123      |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.5
Resolution:              |   Keywords:
      Port:  libtommath  |
-------------------------+--------------------

Comment (by ryandesign):

 In that commit, code was added to the install target in makefile.shared to
 do the appropriate replacements in libtommath.pc. However the Portfile
 isn't using makefile.shared at all; it's using makefile, modified with a
 patch to let it build the dylib, and it uses a custom destroot phase
 rather than using the install target. My first inclination therefore would
 be to see if we can use makefile.shared instead of patching makefile and
 overriding destroot. Another option would be to try the cmake build system
 instead, making sure that library versioning does not change in the
 process.

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


More information about the macports-tickets mailing list