summaryrefslogtreecommitdiff
path: root/devel/glib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/glib/Makefile')
-rw-r--r--devel/glib/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/devel/glib/Makefile b/devel/glib/Makefile
index 0e233bb0c00..97017b3591c 100644
--- a/devel/glib/Makefile
+++ b/devel/glib/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.89 2014/10/09 14:06:08 wiz Exp $
+# $NetBSD: Makefile,v 1.90 2016/02/15 11:42:10 jperkin Exp $
DISTNAME= glib-1.2.10
-PKGREVISION= 10
+PKGREVISION= 11
CATEGORIES= devel
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v1.2/ \
${MASTER_SITE_GNOME:=sources/glib/1.2/}
@@ -9,6 +9,7 @@ MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v1.2/ \
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://developer.gnome.org/glib/
COMMENT= Some useful routines for C programming (glib1)
+LICENSE= gnu-lgpl-v2.1
CONFLICTS= gtk+-1.0.*
@@ -33,6 +34,13 @@ PTHREAD_OPTS+= require
CONFIGURE_ENV+= glib_cv_rtldglobal_broken=no
.endif
+# Tests are insufficient, override with correct values.
+.if ${OPSYS} == "Darwin" && ${PKGSRC_COMPILER} == "clang"
+CONFIGURE_ENV+= glib_cv_has__inline=yes
+CONFIGURE_ENV+= glib_cv_has__inline__=yes
+CONFIGURE_ENV+= glib_cv_hasinline=yes
+.endif
+
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
GCC_REQD+= 3.0
.endif