Ticket #18803: Portfile-vtk5.patch
File Portfile-vtk5.patch, 946 bytes (added by max@…, 16 years ago) |
---|
-
Portfile
old new 91 91 92 92 variant python description {builds python wrappers} { 93 93 depends_build-append port:python25 94 configure.args-delete -DVTK_WRAP_PYTHON:BOOL=OFF 94 configure.args-delete -DVTK_WRAP_PYTHON:BOOL=OFF \ 95 -DBUILD_SHARED_LIBS:BOOL=OFF 95 96 configure.args-append -DPYTHON_DEBUG_LIBRARY:FILEPATH=${prefix}/lib/libpython2.5.dylib \ 96 97 -DPYTHON_EXECUTABLE:FILEPATH=${prefix}/bin/python2.5 \ 97 98 -DPYTHON_INCLUDE_PATH:FILEPATH=${prefix}/include/python2.5 \ 98 99 -DPYTHON_LIBRARY:FILEPATH=${prefix}/lib/libpython2.5.dylib \ 99 -DVTK_WRAP_PYTHON:BOOL=ON \ 100 -DVTK_PYTHON_SETUP_ARGS:STRING="--prefix=${prefix} --root=${destdir"} 100 -DBUILD_SHARED_LIBS:BOOL=ON \ 101 -DVTK_WRAP_PYTHON:BOOL=ON \ 102 -DVTK_SOURCE_DIR:STRING="${destdir}" 101 103 } 102 104 103 105 set vtkdest ${destroot}${prefix}/share/doc/${name}