From: vsr Date: Mon, 15 Jan 2007 10:07:31 +0000 (+0000) Subject: Fix problem on Mandriva 2006 with vtk Python modules importing X-Git-Tag: V_3_2_4~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=babf1876334b0c22f9e969671733efd50ba66e31;p=tools%2Finstall.git Fix problem on Mandriva 2006 with vtk Python modules importing --- 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