summaryrefslogtreecommitdiff
path: root/x11/libxcb
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2009-04-08 13:06:22 +0000
committerdrochner <drochner@pkgsrc.org>2009-04-08 13:06:22 +0000
commitd77711cf9772eda41b2928d2ffafcd084db6a2fd (patch)
treed95595e578abc385d1e8af1d3bbf2c288b0ebd60 /x11/libxcb
parent81f257678a81e48f8358a0f28af820e184efd55b (diff)
downloadpkgsrc-d77711cf9772eda41b2928d2ffafcd084db6a2fd.tar.gz
split the "xcbgen" Python extension which comes with xcb-proto
into its own pkg and pull it in the common Python way so that we ensure matching Python versions
Diffstat (limited to 'x11/libxcb')
-rw-r--r--x11/libxcb/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/libxcb/Makefile b/x11/libxcb/Makefile
index f5bff6009c3..27b25dfef2e 100644
--- a/x11/libxcb/Makefile
+++ b/x11/libxcb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/04/06 10:23:59 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2009/04/08 13:06:22 drochner Exp $
#
DISTNAME= libxcb-1.1.93
@@ -75,11 +75,15 @@ SUBST_VARS.pc= XTHREADLIB XTHREAD_CPPFLAGS
pre-configure:
cd ${WRKSRC} && autoreconf -v -i -f
+BUILD_DEPENDS+= ${PYPKGPREFIX}-xcbgen-[0-9]*:../../x11/py-xcbgen
+
###
### XXX needed to build from scratch, but we're patching right now
### so it's not needed (nor should it ever be, really).
###
#.include "../../devel/gperf/buildlink3.mk"
+PYTHON_FOR_BUILD_ONLY= yes
+.include "../../lang/python/application.mk"
.include "../../x11/xcb-proto/buildlink3.mk"
.include "../../x11/libXdmcp/buildlink3.mk"
.include "../../x11/libXau/buildlink3.mk"