Ticket #35560: py-mayavi_Portfile.diff

File py-mayavi_Portfile.diff, 868 bytes (added by jjstickel (Jonathan Stickel), 12 years ago)
  • python/py-mayavi/Portfile

    old new  
    4848OR x11/gtk) as that used for the GUI (wxwidgets/wxpython OR\
    4949qt4/pyqt4)."
    5050
    51         if {![catch [glob "${prefix}/Library/Frameworks/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages/VTK-*-py${python.branch}.egg-info/PKG-INFO"]]} {
     51        if {![catch {glob "${prefix}/Library/Frameworks/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages/VTK-*-py${python.branch}.egg-info/PKG-INFO"}]==0} {
    5252            ui_error "vtk5 must be installed with the +python${python.version} variant"
    5353            return -code error "incompatible vtk5 installation"
    5454        }