aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gnome.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/bsd.gnome.mk')
-rw-r--r--Mk/bsd.gnome.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index f5b3b4e408d0..e5f431cfbdf2 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -709,6 +709,11 @@ ltasneededhack_PRE_PATCH= if [ -f ${WRKDIR}/gnome-libtool ]; then \
${WRKDIR}/gnome-libtool; \
fi
+# Set USE_CSTD for all ports that depend on glib12
+.if defined(_USE_GNOME) && !empty(_USE_GNOME:Mglib12)
+USE_CSTD= gnu89
+.endif
+
# Then traverse through all components, check which of them
# exist in ${_USE_GNOME} and set variables accordingly
.ifdef _USE_GNOME