summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2004-09-10 11:21:24 +0000
committerdrochner <drochner@pkgsrc.org>2004-09-10 11:21:24 +0000
commit7a4ecd722a2b81450b2192c7a14bf103d9eb4f75 (patch)
tree3b7f20cc41bfbddf0116f1d0df04fdf58c4114eb /graphics
parentb138b442a4983b5218c56506ae0f740735e0943b (diff)
downloadpkgsrc-7a4ecd722a2b81450b2192c7a14bf103d9eb4f75.tar.gz
bl3'ify, and add an explicite dependency on Tk
should fix build error seen in bulk builds
Diffstat (limited to 'graphics')
-rw-r--r--graphics/vtk-python/Makefile3
-rw-r--r--graphics/vtk/Makefile6
-rw-r--r--graphics/vtk/Makefile.vtkdist6
3 files changed, 11 insertions, 4 deletions
diff --git a/graphics/vtk-python/Makefile b/graphics/vtk-python/Makefile
index d7175b150d7..99a06be0681 100644
--- a/graphics/vtk-python/Makefile
+++ b/graphics/vtk-python/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/08/02 13:28:12 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2004/09/10 11:21:24 drochner Exp $
#
PKGNAME= vtk-python-${VTKDIST_VERSION}
@@ -43,4 +43,5 @@ DEPENDS= vtk>=${VTK_VERSION}:../../graphics/vtk
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
+.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/vtk/Makefile b/graphics/vtk/Makefile
index bb2eaa897d8..c9ec75534ae 100644
--- a/graphics/vtk/Makefile
+++ b/graphics/vtk/Makefile
@@ -1,9 +1,13 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/08/02 13:13:39 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2004/09/10 11:21:24 drochner Exp $
#
PKGNAME= vtk-${VTKDIST_VERSION}
COMMENT= Visualization toolkit
+USE_X11= yes
+
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/vtk/Makefile.vtkdist"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/vtk/Makefile.vtkdist b/graphics/vtk/Makefile.vtkdist
index 9acaa1d4bba..f24d932fc4b 100644
--- a/graphics/vtk/Makefile.vtkdist
+++ b/graphics/vtk/Makefile.vtkdist
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.vtkdist,v 1.3 2004/09/07 21:25:59 ben Exp $
+# $NetBSD: Makefile.vtkdist,v 1.4 2004/09/10 11:21:24 drochner Exp $
.include "../../graphics/vtk/Makefile.common"
@@ -11,7 +11,7 @@ WRKSRC= ${WRKDIR}/VTK
DISTINFO_FILE= ${.CURDIR}/../vtk/distinfo
PATCHDIR= ${.CURDIR}/../vtk/patches
-BUILD_DEPENDS+= cmake>=1.6.6:../../devel/cmake
+USE_BUILDLINK3= yes
VTK_LIBDIR= ${PREFIX}/lib/vtk
@@ -28,3 +28,5 @@ do-configure:
.if ${MACHINE_ARCH} != "mips" || ${MACHINE_ARCH} != "vax"
VTK_CMAKE_OPT+= -DBUILD_SHARED_LIBS:BOOL=ON
.endif
+
+.include "../../devel/cmake/buildlink3.mk"