summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/glib2/Makefile.common6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/glib2/Makefile.common b/devel/glib2/Makefile.common
index b4fd9166668..4afc32044ee 100644
--- a/devel/glib2/Makefile.common
+++ b/devel/glib2/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.27 2013/04/19 22:21:41 prlw1 Exp $
+# $NetBSD: Makefile.common,v 1.28 2013/04/20 09:18:36 tron Exp $
#
# used by devel/glib2/Makefile
# used by devel/gdbus-codegen/Makefile
@@ -67,6 +67,10 @@ SUBST_MESSAGE.thr= Fixing libgthread.
CONFIGURE_ENV+= gt_cv_c_wchar_t=no
.endif
+.if ${OPSYS} == "Darwin"
+BUILDLINK_TRANSFORM+= rm:-Werror=missing-prototypes
+.endif
+
.if ${OPSYS} == "HPUX"
CONFIGURE_ENV+= ac_cv_func_mmap_fixed_mapped=yes
.endif