[MacPorts] #65788: poppler: port does not create static libs

MacPorts noreply at macports.org
Thu Sep 8 12:35:59 UTC 2022


#65788: poppler: port does not create static libs
-----------------------+----------------------
  Reporter:  potterpg  |      Owner:  mascguy
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.2
Resolution:            |   Keywords:
      Port:  poppler   |
-----------------------+----------------------

Comment (by mascguy):

 Replying to [comment:6 potterpg]:
 > I'll except your answer, although in the back of my mind I'm sure in
 other cmake projects I've seen options to build both, but since I tend to
 try to get static libs, I might not of actually seen whether it built
 both, even though the option seems to be in there...
 >
 > Since I will have to go through the source code route to get my static
 library, I'll find out I guess.

 Depending on upstream's project, it might be as simple as adding a few
 additional lines to the appropriate `CMakeLists.txt`. (And sometimes it's
 as simple as adding an additional line, if you don't mind using the same
 basename for both libs.)

 However, each case is highly-specific to the project in question. Which
 dovetails with Ryan's earlier comment, re: why we can't easily implement
 it via the `cmake` portgroup.

 This isn't desirable for the port in-general, so it's not something we'd
 want to add. But just letting you know that it's typically not difficult.

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


More information about the macports-tickets mailing list