<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/acd182b3755c54082f4555d14998ed95f7e93394">https://github.com/macports/macports-ports/commit/acd182b3755c54082f4555d14998ed95f7e93394</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new acd182b3755 gobject_introspection PG: tweak to handle using CMake
</span>acd182b3755 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit acd182b3755c54082f4555d14998ed95f7e93394
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Mon Jun 28 15:30:34 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> gobject_introspection PG: tweak to handle using CMake
</span>---
_resources/port1.0/group/gobject_introspection-1.0.tcl | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/gobject_introspection-1.0.tcl b/_resources/port1.0/group/gobject_introspection-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index e56b0072331..612d86da0bd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/gobject_introspection-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/gobject_introspection-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,7 +34,11 @@ proc gobject_introspection_pg::append_env { phase var } {
</span>
proc gobject_introspection_pg::gobject_introspection_setup {} {
if {![option gobject_introspection]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --disable-introspection
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [string match *cmake* [option configure.cmd] ] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DENABLE_GOBJECT_INTROSPECTION=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --disable-introspection
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> } else {
depends_lib-append port:gobject-introspection
platform darwin 8 {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,7 +49,11 @@ proc gobject_introspection_pg::gobject_introspection_setup {} {
</span> build.cmd-replace [portbuild::build_getmaketype] ${prefix_frozen}/bin/gmake
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-introspection
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [string match *cmake* [option configure.cmd] ] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DENABLE_GOBJECT_INTROSPECTION=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-introspection
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
#########################################################################################
# In order to get the GObject Introspection system to respect MacPorts settings,
</pre><pre style='margin:0'>
</pre>