diff options
author | obache <obache@pkgsrc.org> | 2007-05-18 07:54:24 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2007-05-18 07:54:24 +0000 |
commit | f6964dbd231b26882fc3bf57a1fd6e4d7d71e9f5 (patch) | |
tree | 5391fc544d0875858698be8208df4022eb71423d /graphics/vtk-python | |
parent | 372bdbde79757eae57a629657a7ae9f0204b1910 (diff) | |
download | pkgsrc-f6964dbd231b26882fc3bf57a1fd6e4d7d71e9f5.tar.gz |
Make to build & linked with correct RPATH (cheked on NetBSD/i386 3.1).
Diffstat (limited to 'graphics/vtk-python')
-rw-r--r-- | graphics/vtk-python/Makefile | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/graphics/vtk-python/Makefile b/graphics/vtk-python/Makefile index 66cb44b8b4c..585ff6e7b61 100644 --- a/graphics/vtk-python/Makefile +++ b/graphics/vtk-python/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/05/15 15:51:06 obache Exp $ +# $NetBSD: Makefile,v 1.13 2007/05/18 07:54:24 obache Exp $ # PKGNAME= vtk-python-${VTKDIST_VERSION} @@ -11,8 +11,6 @@ VTK_CMAKE_OPT= -DPYTHON_INCLUDE_PATH:STRING=${PREFIX}/${PYINC} \ -DVTK_WRAP_PYTHON:BOOL=ON \ -DCMAKE_BACKWARDS_COMPATIBILITY=2.2 -BROKEN_IN= pkgsrc-2006Q4 - USE_LANGUAGES= c c++ PYDISTUTILSPKG= yes PYTHON_VERSIONS_ACCEPTED= 23 @@ -27,7 +25,19 @@ VTK_PY_LIBS= bin/libvtkCommonPython.so \ bin/libvtkRenderingPythonTkWidgets.so \ bin/libvtkHybridPython.so -BUILD_TARGET= default_target_Wrapping_Python +BUILD_TARGET= vtkpython/fast \ + vtkWrapPython/fast \ + vtkCommonPython/fast \ + vtkFilteringPython/fast \ + vtkImagingPython/fast \ + vtkGraphicsPython/fast \ + vtkIOPython/fast \ + vtkRenderingPython/fast \ + vtkRenderingPythonTkWidgets/fast \ + vtkHybridPython/fast + +post-configure: + ${INSTALL_LIB} ${PREFIX}/lib/vtk/*.so ${WRKSRC}/bin pre-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${BUILD_TARGET} @@ -37,11 +47,6 @@ pre-install: ${INSTALL_DATA} ${WRKSRC}/$$lib ${VTK_LIBDIR}; \ done -# XXX this doesn't get linked with correct RPATH, and is unnecessary anyway -post-install: - ${RM} -f ${PREFIX}/bin/vtkpython - ${LN} -s ${PYTHONBIN} ${PREFIX}/bin/vtkpython - DEPENDS+= vtk>=${VTK_VERSION}:../../graphics/vtk .include "../../graphics/vtk/Makefile.vtkdist" |