Ticket #19492: vtk5Portfile.diff

File vtk5Portfile.diff, 1.0 KB (added by jjstickel@…, 16 years ago)
  • Portfile

    old new  
    55
    66name        vtk5
    77version     5.2.1
    8 revision    1
     8revision    2
    99set branch  [join [lrange [split ${version} .] 0 1] .]
    1010categories  graphics devel
    1111maintainers nomaintainer
     
    8181
    8282platform darwin 8 {
    8383    configure.env-append    CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 MACOSX_DEPLOYMENT_TARGET=10.4
     84    depends_run-append      port:xorg-server
    8485}
    8586
    8687platform darwin 9 {
     
    9596    configure.args-append   \
    9697        -DVTK_USE_COCOA:BOOL=OFF \
    9798        -DVTK_USE_X:BOOL=ON \
    98         -DOPENGL_gl_LIBRARY:FILEPATH=${x11prefix}/lib/libGL.dylib \
    99         -DOPENGL_glu_LIBRARY:FILEPATH=${x11prefix}/lib/libGLU.dylib
     99        -DOPENGL_gl_LIBRARY:FILEPATH=${prefix}/lib/libGL.dylib \
     100        -DOPENGL_glu_LIBRARY:FILEPATH=${prefix}/lib/libGLU.dylib
    100101}
    101102
    102103variant tcltk conflicts carbon description {build with Tcl wrappers and Tk support} {