diff options
-rw-r--r-- | Mk/bsd.gnome.mk | 5 | ||||
-rw-r--r-- | devel/glib12/Makefile | 1 |
2 files changed, 6 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 diff --git a/devel/glib12/Makefile b/devel/glib12/Makefile index 9aa4482d3cdc..c6bfae710771 100644 --- a/devel/glib12/Makefile +++ b/devel/glib12/Makefile @@ -14,6 +14,7 @@ MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Some useful routines of C programming (previous stable version) +USE_CSTD= gnu89 USE_AUTOTOOLS= libtool:22 USE_GNOME= pkgconfig GNU_CONFIGURE= yes |