summaryrefslogtreecommitdiff
path: root/community/vtk/python-destdir.diff
diff options
context:
space:
mode:
Diffstat (limited to 'community/vtk/python-destdir.diff')
-rw-r--r--community/vtk/python-destdir.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/vtk/python-destdir.diff b/community/vtk/python-destdir.diff
new file mode 100644
index 000000000..9b1504b8b
--- /dev/null
+++ b/community/vtk/python-destdir.diff
@@ -0,0 +1,11 @@
+--- VTK/Wrapping/Python/CMakeLists.txt.orig 2013-02-02 12:56:08.067142089 +0100
++++ VTK/Wrapping/Python/CMakeLists.txt 2013-02-02 12:58:16.182794679 +0100
+@@ -558,7 +558,7 @@
+
+ # Create default python setup arguments if they are not set.
+ IF(NOT DEFINED VTK_PYTHON_SETUP_ARGS)
+- SET(VTK_PYTHON_SETUP_ARGS "--prefix=\"${DOLLAR}{CMAKE_INSTALL_PREFIX}\""
++ SET(VTK_PYTHON_SETUP_ARGS "--root=\"${DOLLAR}DESTDIR\" --prefix=\"${DOLLAR}{CMAKE_INSTALL_PREFIX}\""
+ CACHE STRING "Arguments passed to \"python setup.py install ...\" during installation.")
+ MARK_AS_ADVANCED(VTK_PYTHON_SETUP_ARGS)
+ ENDIF(NOT DEFINED VTK_PYTHON_SETUP_ARGS)