summaryrefslogtreecommitdiff
path: root/graphics/vtk
diff options
context:
space:
mode:
authorobache <obache>2007-05-18 07:50:11 +0000
committerobache <obache>2007-05-18 07:50:11 +0000
commit611ce9d588f8a48617b0097cca4cac5f66628a6e (patch)
tree423e9bd6bbbfde8169df39ebdf43a87d9623b0e2 /graphics/vtk
parentb78be4cffcffc6d29218e78b645e47d7fa3b6f13 (diff)
downloadpkgsrc-611ce9d588f8a48617b0097cca4cac5f66628a6e.tar.gz
Avoid to relink in install phase, because relink remove RPATH.
Bump PKGREVISION.
Diffstat (limited to 'graphics/vtk')
-rw-r--r--graphics/vtk/Makefile4
-rw-r--r--graphics/vtk/Makefile.vtkdist10
2 files changed, 8 insertions, 6 deletions
diff --git a/graphics/vtk/Makefile b/graphics/vtk/Makefile
index 88baa724334..048271b84ba 100644
--- a/graphics/vtk/Makefile
+++ b/graphics/vtk/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2007/03/12 06:46:42 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2007/05/18 07:50:11 obache Exp $
#
PKGNAME= vtk-${VTKDIST_VERSION}
-PKGREVISION= 3
+PKGREVISION= 4
COMMENT= Visualization toolkit
diff --git a/graphics/vtk/Makefile.vtkdist b/graphics/vtk/Makefile.vtkdist
index e8ba88419af..22dc32d0d9f 100644
--- a/graphics/vtk/Makefile.vtkdist
+++ b/graphics/vtk/Makefile.vtkdist
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.vtkdist,v 1.8 2007/02/22 19:26:36 wiz Exp $
+# $NetBSD: Makefile.vtkdist,v 1.9 2007/05/18 07:50:11 obache Exp $
.include "../../graphics/vtk/Makefile.common"
@@ -13,9 +13,11 @@ PATCHDIR= ${.CURDIR}/../vtk/patches
VTK_LIBDIR= ${PREFIX}/lib/vtk
-VTK_CMAKE_OPT+= -DCMAKE_INSTALL_PREFIX:STRING=${PREFIX} \
- -DCMAKE_SHARED_LINKER_FLAGS:STRING=${COMPILER_RPATH_FLAG}${VTK_LIBDIR} \
- -DCMAKE_MODULE_LINKER_FLAGS:STRING=${COMPILER_RPATH_FLAG}${VTK_LIBDIR} \
+VTK_CMAKE_OPT+= -DCMAKE_INSTALL_PREFIX:STRING=${PREFIX:Q} \
+ -DCMAKE_INSTALL_RPATH:STRING=${PREFIX:Q}/lib:${X11BASE:Q}/lib${LIBABISUFFIX:Q}:${VTK_LIBDIR:Q} \
+ -DCMAKE_SKIP_BUILD_RPATH:BOOL=ON \
+ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \
+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON \
-DVTK_USE_HYBRID:BOOL=ON
do-configure: