Ticket #7574: patch-Portfile.2.diff

File patch-Portfile.2.diff, 1021 bytes (added by cssdev@…, 18 years ago)

vtk Portfile patch

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/graphics/vtk/Portfile,v
    retrieving revision 1.9
    diff -u -r1.9 Portfile
     
    33PortSystem 1.0
    44name            VTK
    55version         4.2.6
    6 revision        1
     6revision        2
    77categories      graphics
    88maintainers     cssdev@mac.com
    99description     3D visualization toolkit
     
    3636
    3737configure       { system "cd ${worksrcpath} && cmake ${configure.args} ${worksrcpath}" }
    3838configure.args  -D BUILD_SHARED_LIBS:BOOL=ON \
     39                -D CMAKE_VERBOSE_MAKEFILE:BOOL=ON \
    3940                -D CMAKE_INSTALL_PREFIX:PATH=${prefix} \
    4041                -D VTK_USE_HYBRID:BOOL=ON \
    4142                -D VTK_USE_CARBON:BOOL=OFF \
    42                 -D VTK_USE_COCOA:BOOL=ON
     43                -D VTK_USE_COCOA:BOOL=ON \
     44                -D CMAKE_SKIP_RPATH:BOOL=OFF \
     45                -D CMAKE_INSTALL_NAME_DIR:STRING=${prefix}/lib/vtk \
     46                -D CMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON
    4347
    4448platform darwin 8 {
    4549    patchfiles patch-vtk3DSImporter.cxx \