[MacPorts] #56737: graphene 1.8.2: difficulty building +universal
MacPorts
noreply at macports.org
Thu Jun 28 22:03:55 UTC 2018
#56737: graphene 1.8.2: difficulty building +universal
-----------------------+----------------------
Reporter: kencu | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.2
Resolution: | Keywords:
Port: graphene |
-----------------------+----------------------
Comment (by kencu):
Googling around `pkg-config` leads to lots of discussions and threads on
how `pkg-config` might be modified or enhanced to include knowledge of the
host and build systems and fix this "cross-compiling" problem. These
discussions go back many years, so we're certainly not the first to
stumble across them.
There are proposals to add a `-host` flag to `pkg-config` that could be
used as a director to metadata to find the arch-specific one you want.
More common seems to be to tuck the `.pc` files into `triple` folders that
are specified to come earlier in the `pkg-config` search path. That might
actually be something we could do in the `muniversal` portgroup and in
base, but it's not a trivial project.
In this case, our option seems to be to force `SSE2` for everyone and then
figure out how to fix the ones that break doing that, or alternatively to
shut it off for everyone, which is easier fer sure, but dumbs down
`graphene` a bit on the 99% of MacPorts systems that can support `SSE2`.
--
Ticket URL: <https://trac.macports.org/ticket/56737#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list