--- ./mesonbuild/modules/gnome.py2	2023-12-21 20:03:04
+++ ./mesonbuild/modules/gnome.py	2023-12-21 20:04:34
@@ -983,7 +983,8 @@
         run_env = PkgConfigInterface.get_env(state.environment, MachineChoice.HOST, uninstalled=True)
         # g-ir-scanner uses Python's distutils to find the compiler, which uses 'CC'
         cc_exelist = state.environment.coredata.compilers.host['c'].get_exelist()
-        run_env.set('CC', [quote_arg(x) for x in cc_exelist], ' ')
+         # MACPORTS MOD -- do not set CC here. MacPorts sets it directly, with modifications
+         # run_env.set('CC', [quote_arg(x) for x in cc_exelist], ' ')
         run_env.merge(kwargs['env'])
 
         return GirTarget(
