--- /opt/local/var/macports/sources/leatherman.nrel.gov/macports/release/tarballs_current/ports/python/py-mayavi/Portfile	2012-07-25 14:30:20.000000000 -0600
+++ python/py-mayavi/Portfile	2012-08-06 11:15:31.000000000 -0600
@@ -48,7 +48,7 @@
 OR x11/gtk) as that used for the GUI (wxwidgets/wxpython OR\
 qt4/pyqt4)."
 
-        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"]]} {
+        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} {
             ui_error "vtk5 must be installed with the +python${python.version} variant"
             return -code error "incompatible vtk5 installation"
         }
