[MacPorts] #66874: expat @2.5.0: building via autotools leaves cmake files unprocessed (was: building expat via autotools leaves cmake files unprocessed)

MacPorts noreply at macports.org
Wed Feb 8 21:55:02 UTC 2023


#66874: expat @2.5.0: building via autotools leaves cmake files unprocessed
---------------------+------------------------
  Reporter:  RJVB    |      Owner:  ryandesign
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  expat   |
---------------------+------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: ryandesign (removed)
 * owner:  (none) => ryandesign


Comment:

 The `#ifndef __LP64__` directives are added by the muniversal portgroup
 when files differ in a universal build; you won't see this appear in non-
 universal builds.

 These are C preprocessor directives so they only make sense in files
 processed by the C preprocessor, which this .cmake file isn't. The
 muniversal portgroup has some code for how to handle different types of
 files, with the C preprocessor method being used as a fallback in case it
 doesn't know. If an improvement could be made to the muniversal portgroup
 about this, it would be that it should fail if .cmake files differ.

 It sounds like the change you're suggesting to make to the .cmake file is
 not specific to MacPorts, so you should submit it to the developers of
 expat.

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


More information about the macports-tickets mailing list