[MacPorts] #56737: graphene 1.8.2: difficulty building +universal
MacPorts
noreply at macports.org
Tue Jul 3 14:20:12 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 |
-----------------------+----------------------
Description changed by kencu:
Old description:
> I've had graphene built as +universal since forever I believe, but on
> this last update it fails to build. I see it was recently altered to help
> it build universal. I'm not sure how I had it built universal before, in
> fact, but I did.
>
> The error comes with three text files that don't lipo, of course. The
> following fixes it, possibly incorrectly:
> {{{
> # gobject-introspection uses g-ir-scanner, which uses $CC from env
> if {[variant_isset universal]} {
> foreach arch ${configure.universal_archs} {
> lappend merger_build_env(${arch}) CC='${configure.cc} -arch
> ${arch}'
> lappend merger_destroot_env(${arch}) CC='${configure.cc} -arch
> ${arch}'
> }
> + global merger_dont_diff
> + lappend merger_dont_diff
> "${prefix}/lib/pkgconfig/graphene-1.0.pc"
> + lappend merger_dont_diff "${prefix}/lib/pkgconfig/graphene-
> gobject-1.0.pc"
> + lappend merger_dont_diff "${prefix}/lib/graphene-1.0/include
> /graphene-config.h"
> } else {
> }}}
New description:
I've had graphene built as +universal since forever I believe, but on this
last update it fails to build. I see it was recently altered to help it
build universal. I'm not sure how I had it built universal before, in
fact, but I did.
The error comes with three text files that differ between builds. The
following fixes it, possibly incorrectly:
{{{
# gobject-introspection uses g-ir-scanner, which uses $CC from env
if {[variant_isset universal]} {
foreach arch ${configure.universal_archs} {
lappend merger_build_env(${arch}) CC='${configure.cc} -arch
${arch}'
lappend merger_destroot_env(${arch}) CC='${configure.cc} -arch
${arch}'
}
+ global merger_dont_diff
+ lappend merger_dont_diff "${prefix}/lib/pkgconfig/graphene-1.0.pc"
+ lappend merger_dont_diff "${prefix}/lib/pkgconfig/graphene-
gobject-1.0.pc"
+ lappend merger_dont_diff "${prefix}/lib/graphene-1.0/include
/graphene-config.h"
} else {
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/56737#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list