Martin Attached is a patch for the vtk-py info file. This patch fixes this bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388736which affects compiling of programs that depend on vtk. I also updated the info file to use vtk-5.0.3.
Thanks, Jonathan
--- /sw/fink/10.4/unstable/main/finkinfo/sci/vtk-py.info 2007-11-24 16:28:06.000000000 -0700 +++ vtk-py.info 2008-01-15 08:37:49.000000000 -0700 @@ -1,12 +1,12 @@ Info2: << Package: vtk-py%type_pkg[python] -Version: 5.0.2 +Version: 5.0.3 Revision: 1004 Distribution: (%type_pkg[python] = 23) 10.3, (%type_pkg[python] = 23) 10.4, (%type_pkg[python] = 24) 10.4 Type: python (2.3 2.4 2.5) BuildDependsOnly: False Source: http://www.vtk.org/files/release/5.0/vtk-%v.tar.gz -Source-MD5: c2f439d1a4bc1598a1cb09ee43f794ed +Source-MD5: 0148a3d3c46d0599ab63e79f7f406609 SourceDirectory: VTK License: BSD GCC: 4.0 @@ -22,12 +22,12 @@ perl -pi.bak -e 's|\-flat_namespace,\-U,_environ|-undefined,dynamic_lookup|g' CMakeLists.txt if [ %m = "powerpc" ]; then perl -pi -e 's|(\-no\-cpp\-precomp)|\-Os \-mcpu=G3 \-mtune=G4 \-funroll\-loops \-Wno\-long\-double |g' CMakeLists.txt; fi if [ %m = "i386" ]; then perl -pi -e 's|(\-no\-cpp\-precomp)|\-Os \-funroll\-loops \-Wno\-long\-double |g' CMakeLists.txt; fi - if [ %type_raw[python] = "2.5" ]; then perl -pi.bak -e 's|(char .*tp_doc;)|const \1|' Common/vtkPythonUtil.cxx; fi + #if [ %type_raw[python] = "2.5" ]; then perl -pi.bak -e 's|(char .*tp_doc;)|const \1|' Common/vtkPythonUtil.cxx; fi << NoSetMAKEFLAGS: true SetMAKEFLAGS: -j1 CompileScript: << -#!/bin/sh -ex +#!/bin/sh -ev %p/bin/cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DVTK_INSTALL_LIB_DIR:STRING="/lib/vtk" \ -DCMAKE_INSTALL_PREFIX:PATH=%p \ @@ -73,8 +73,9 @@ make << InstallScript: << -#!/bin/sh -ex +#!/bin/sh -ev make install DESTDIR=%d + sed -i 's:%b/Common/::g' %i/lib/vtk/vtk-5.0/vtkCommonKit.cmake /usr/bin/install -d %i/share/doc/%n /bin/cp -R Examples %i/share/doc/%n/ /usr/bin/find -d %i/share/doc/%n/Examples -name CVS -exec rm -rf \{\} \;
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel