Ticket #1876: VTK-Portfile-cmake-fix.patch

File VTK-Portfile-cmake-fix.patch, 353 bytes (added by thomas+opendarwin@…, 20 years ago)

Patch to the VTK Portfile that makes it compile

  • Portfile

    old new  
    1414
    1515depends_build   bin:cmake:cmake
    1616
    17 configure       { system "cd ${worksrcpath} && cmake" }
     17configure       { system "cd ${worksrcpath} && cmake ." }
    1818
    1919post-configure  {
    2020        reinplace "s;BUILD_SHARED_LIBS:BOOL=.*;BUILD_SHARED_LIBS:BOOL=ON;" ${worksrcpath}/CMakeCache.txt