[MacPorts] #65464: gpac 2.0.0: error: use of undeclared identifier 'CLOCK_MONOTONIC'

MacPorts noreply at macports.org
Sat Jul 9 10:41:36 UTC 2022


#65464: gpac 2.0.0: error: use of undeclared identifier 'CLOCK_MONOTONIC'
---------------------------+------------------------
  Reporter:  sambthompson  |      Owner:  mohd-akram
      Type:  defect        |     Status:  reopened
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  elcapitan
      Port:  gpac          |
---------------------------+------------------------

Comment (by ryandesign):

 Replying to [comment:4 sambthompson]:
 > Maybe same cause as #65427; seems to be similar error.

 It is the "same cause" in that, as in #65427, this port is not honoring
 MacPorts LDFLAGS (irrespective of legacysupport: note how the `-arch` flag
 is missing on the link line too), but since each build system is unique, a
 unique solution will need to be developed for this port.

 Replying to [comment:6 sambthompson]:
 > I note the fix to `got` in #65124 didn't add any flags?

 That's because got's build system is not identical to the snownews or gpac
 build systems. Different developers decided to do things different ways.
 Portfiles have to supply information to the different build systems in the
 ways they expect.

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


More information about the macports-tickets mailing list