Skip to content

Commit

Permalink
gobject_introspection portgroup: fix for cmake compatibility
Browse files Browse the repository at this point in the history
This lets the portgroup handle braces in configure.cc_archflags, which
seem to be introduced by the cmake portgroup. Probably the real
problem is that the braces are being added in the first place, but
this is a reasonable stopgap measure.

See https://trac.macports.org/ticket/56637
  • Loading branch information
drkp committed Jun 15, 2018
1 parent 70ee12e commit f4a310c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _resources/port1.0/group/gobject_introspection-1.0.tcl
Expand Up @@ -67,7 +67,7 @@ pre-build {
#
# The non-g-ir-scanner parts of the build are assumed to build with
# the correct -arch flags as determined at configure time.
build.args-append CC="${configure.cc} ${configure.cc_archflags}"
build.args-append CC="${configure.cc} [join ${configure.cc_archflags}]"
}

# The rules enabled by gobject-introspection require GNU make 3.81+
Expand All @@ -88,7 +88,7 @@ pre-destroot {
} else {
# This deliberately does not use [get_canonical_archflags cc]. See
# explanation in pre-build block.
destroot.args-append CC="${configure.cc} ${configure.cc_archflags}"
destroot.args-append CC="${configure.cc} [join ${configure.cc_archflags}]"
}
}
}

0 comments on commit f4a310c

Please sign in to comment.