Tue Oct 2 07:39:30 2012 UTC ()
The "cairo" package needs at least version 1.6 of the "libxcb" library.
Set the minimum version accordingly. The package now uses "libxcb" from
"pkgsrc" under Mac OS X Snow Leopard which fixes the build.

Bump package revision because of the dependence change.


(tron)
diff -r1.104 -r1.105 pkgsrc/graphics/cairo/Makefile
diff -r1.42 -r1.43 pkgsrc/graphics/cairo/buildlink3.mk
diff -r1.7 -r1.8 pkgsrc/graphics/cairo/options.mk

cvs diff -r1.104 -r1.105 pkgsrc/graphics/cairo/Makefile (expand / switch to context diff)
--- pkgsrc/graphics/cairo/Makefile 2012/09/09 01:28:06 1.104
+++ pkgsrc/graphics/cairo/Makefile 2012/10/02 07:39:30 1.105
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.104 2012/09/09 01:28:06 dholland Exp $
+# $NetBSD: Makefile,v 1.105 2012/10/02 07:39:30 tron Exp $
 
 DISTNAME=	cairo-1.12.2
-PKGREVISION=	1
+PKGREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	http://cairographics.org/releases/
 EXTRACT_SUFX=	.tar.xz

cvs diff -r1.42 -r1.43 pkgsrc/graphics/cairo/buildlink3.mk (expand / switch to context diff)
--- pkgsrc/graphics/cairo/buildlink3.mk 2012/09/08 08:53:03 1.42
+++ pkgsrc/graphics/cairo/buildlink3.mk 2012/10/02 07:39:30 1.43
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.42 2012/09/08 08:53:03 obache Exp $
+# $NetBSD: buildlink3.mk,v 1.43 2012/10/02 07:39:30 tron Exp $
 
 BUILDLINK_TREE+=	cairo
 
@@ -18,6 +18,7 @@
 .include "../../mk/pkg-build-options.mk"
 
 .if !empty(PKG_BUILD_OPTIONS.cairo:Mxcb)
+BUILDLINK_API_DEPENDS.libxcb+=	libxcb>=1.6
 .include "../../x11/libxcb/buildlink3.mk"
 .endif
 

cvs diff -r1.7 -r1.8 pkgsrc/graphics/cairo/options.mk (expand / switch to context diff)
--- pkgsrc/graphics/cairo/options.mk 2012/09/07 15:24:03 1.7
+++ pkgsrc/graphics/cairo/options.mk 2012/10/02 07:39:30 1.8
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2012/09/07 15:24:03 adam Exp $
+# $NetBSD: options.mk,v 1.8 2012/10/02 07:39:30 tron Exp $
 
 PKG_OPTIONS_VAR=	PKG_OPTIONS.cairo
 PKG_SUPPORTED_OPTIONS=	x11 xcb
@@ -27,6 +27,7 @@
 .  if !empty(PKG_OPTIONS:Mxcb)
 CONFIGURE_ARGS+=	--enable-xcb
 PLIST.xcb=		yes
+BUILDLINK_API_DEPENDS.libxcb+=	libxcb>=1.6
 .  include "../../x11/libxcb/buildlink3.mk"
 .  endif