From babf1876334b0c22f9e969671733efd50ba66e31 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 15 Jan 2007 10:07:31 +0000 Subject: [PATCH] Fix problem on Mandriva 2006 with vtk Python modules importing --- config_files/VTK-4.2.6.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config_files/VTK-4.2.6.sh b/config_files/VTK-4.2.6.sh index 6a5852c..876f514 100755 --- a/config_files/VTK-4.2.6.sh +++ b/config_files/VTK-4.2.6.sh @@ -90,10 +90,11 @@ if test `uname -m` = "x86_64" ; then cp patches/vtk-4.2.6-lib64.patch ${PRODUCT_WORK} ( cd ${PRODUCT_WORK} ; patch -p1 < vtk-4.2.6-lib64.patch ) fi - if [ -f patches/vtk-4.2.6-patented.patch ] ; then - cp patches/vtk-4.2.6-patented.patch ${PRODUCT_WORK} - ( cd ${PRODUCT_WORK} ; patch -p1 < vtk-4.2.6-patented.patch ) - fi +fi +# apply patch: fix pb with importing Python vtk modules on some platforms +if [ -f patches/vtk-4.2.6-patented.patch ] ; then + cp patches/vtk-4.2.6-patented.patch ${PRODUCT_WORK} + ( cd ${PRODUCT_WORK} ; patch -p1 < vtk-4.2.6-patented.patch ) fi cd ${INSTALL_WORK}/cmake-1.6.6 -- 2.39.2