summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-10-26 17:02:45 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-10-26 17:02:45 +0800
commit9fb375ceb043d15c7feda8f9b7b19d7a4144a4de (patch)
treeb130b0f8268531fa5ea314b3eb22fba73dfcd882
parent17250a9e497f6223dfb4aef75114b07c2f6fb937 (diff)
downloadmarcuscom-ports-9fb375ceb043d15c7feda8f9b7b19d7a4144a4de.tar
marcuscom-ports-9fb375ceb043d15c7feda8f9b7b19d7a4144a4de.tar.gz
marcuscom-ports-9fb375ceb043d15c7feda8f9b7b19d7a4144a4de.tar.bz2
marcuscom-ports-9fb375ceb043d15c7feda8f9b7b19d7a4144a4de.tar.lz
marcuscom-ports-9fb375ceb043d15c7feda8f9b7b19d7a4144a4de.tar.xz
marcuscom-ports-9fb375ceb043d15c7feda8f9b7b19d7a4144a4de.tar.zst
marcuscom-ports-9fb375ceb043d15c7feda8f9b7b19d7a4144a4de.zip
Sync with FreeBSD ports.
(USE_CSTD=gnu89 for glib12 based ports). git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14842 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--Mk/bsd.gnome.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index 838e9e538..87ebfe915 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -3,7 +3,7 @@
#
# $FreeBSD$
# $NetBSD: $
-# $MCom: ports/Mk/bsd.gnome.mk,v 1.510 2010/08/16 21:01:11 kwm Exp $
+# $MCom: ports/Mk/bsd.gnome.mk,v 1.511 2010/08/30 13:09:25 kwm Exp $
#
# Please view me with 4 column tabs!
@@ -770,6 +770,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