pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/vtk Avoid to relink in install phase, because...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cbd0c5dcf444
branches:  trunk
changeset: 528851:cbd0c5dcf444
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri May 18 07:50:11 2007 +0000

description:
Avoid to relink in install phase, because relink remove RPATH.

Bump PKGREVISION.

diffstat:

 graphics/vtk/Makefile         |   4 ++--
 graphics/vtk/Makefile.vtkdist |  10 ++++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r dc8ecfaa28c6 -r cbd0c5dcf444 graphics/vtk/Makefile
--- a/graphics/vtk/Makefile     Fri May 18 06:41:15 2007 +0000
+++ b/graphics/vtk/Makefile     Fri May 18 07:50:11 2007 +0000
@@ -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 -r dc8ecfaa28c6 -r cbd0c5dcf444 graphics/vtk/Makefile.vtkdist
--- a/graphics/vtk/Makefile.vtkdist     Fri May 18 06:41:15 2007 +0000
+++ b/graphics/vtk/Makefile.vtkdist     Fri May 18 07:50:11 2007 +0000
@@ -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 @@
 
 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:



Home | Main Index | Thread Index | Old Index