summaryrefslogtreecommitdiff
path: root/x11/gtk3
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-05-17 21:10:37 +0000
committermarino <marino@pkgsrc.org>2012-05-17 21:10:37 +0000
commit8faf1a5a4d89e7f595effaee5b7536e18187e16c (patch)
tree3cddf70543cc86a8e1cd56f28b8c0188ca13693b /x11/gtk3
parenta372646fa44204874c5bddc2a9b8b103048c7289 (diff)
downloadpkgsrc-8faf1a5a4d89e7f595effaee5b7536e18187e16c.tar.gz
x11/gtk3: Fix dependency / Fix DragonFly
In order to accomplish the given PLIST, gobject-introspection must be at version 1.32 at least (rather than the specified version 0.10.1). Revbump for the dependency change. Also, two conftests were failing on DragonFly that should have passed so these were overridden as successes to fix the 3.4.3 build on DragonFly.
Diffstat (limited to 'x11/gtk3')
-rw-r--r--x11/gtk3/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11/gtk3/Makefile b/x11/gtk3/Makefile
index 4eae6cb9ed9..d68450c8ae5 100644
--- a/x11/gtk3/Makefile
+++ b/x11/gtk3/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2012/05/15 15:39:40 adam Exp $
+# $NetBSD: Makefile,v 1.21 2012/05/17 21:10:37 marino Exp $
DISTNAME= gtk+-3.4.3
PKGNAME= ${DISTNAME:S/gtk/gtk3/}
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/${PKGVERSION_NOREV:R}/ \
${MASTER_SITE_GNOME:=sources/gtk+/${PKGVERSION_NOREV:R}/}
@@ -55,6 +56,12 @@ BUILD_DIRS= . demos/gtk-demo
BUILD_DEPENDS+= grep-[0-9]*:../../textproc/grep
TOOLS_PATH.grep= ${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}grep
.endif
+# isnan and isinf are part of libc, not libm on DragonFly
+# conf tests fail detection due to conflicting definitions, just skip them
+.if ${OPSYS} == "DragonFly"
+CONFIGURE_ENV+= ac_cv_func_isnan=yes
+CONFIGURE_ENV+= ac_cv_func_isinf=yes
+.endif
CFLAGS.SunOS+= -std=gnu99 -D_XOPEN_SOURCE=600
@@ -77,7 +84,7 @@ BUILDLINK_API_DEPENDS.glib2+= glib2>=2.29.14
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_API_DEPENDS.gdk-pixbuf2+= gdk-pixbuf2>=2.24.1nb2
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
-BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.10.1
+BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=1.32
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "options.mk"