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