[MacPorts] #56637: cmake and gobject_introspection portgroups together cause invalid CC archflags
MacPorts
noreply at macports.org
Sun Jun 10 08:24:26 UTC 2018
#56637: cmake and gobject_introspection portgroups together cause invalid CC
archflags
---------------------+--------------------
Reporter: drkp | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
---------------------+--------------------
Comment (by RJVB):
You could try a few things in gobject_introspection-1.0.tcl, starting with
just `port build poppler`
Replace
{{{
build.args-append CC="${configure.cc} ${configure.cc_archflags}"
}}}
with
{{{
build.args-append CC="${configure.cc} [join
${configure.cc_archflags}]"
}}}
or even
{{{
build.args-append CC="[join [concat [option configure.cc] [option
configure.cc_archflags]]"
}}}
If the build step succeeds with either, make the equivalent change to the
`destroot.args-append` line in the PortGroup and try to finalise the
install.
Both approaches are used in the CMake 1.1 PG to avoid getting curly braces
in the intended result; I cannot remember why I had (or decided) to use
the more complex second one.
--
Ticket URL: <https://trac.macports.org/ticket/56637#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list