pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/vtk-python Make to build & linked with correc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4ab62897e397
branches: trunk
changeset: 528853:4ab62897e397
user: obache <obache%pkgsrc.org@localhost>
date: Fri May 18 07:54:24 2007 +0000
description:
Make to build & linked with correct RPATH (cheked on NetBSD/i386 3.1).
diffstat:
graphics/vtk-python/Makefile | 23 ++++++++++++++---------
1 files changed, 14 insertions(+), 9 deletions(-)
diffs (51 lines):
diff -r 8107ff53b074 -r 4ab62897e397 graphics/vtk-python/Makefile
--- a/graphics/vtk-python/Makefile Fri May 18 07:51:19 2007 +0000
+++ b/graphics/vtk-python/Makefile Fri May 18 07:54:24 2007 +0000
@@ -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 @@
-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 @@
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 @@
${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"
Home |
Main Index |
Thread Index |
Old Index