[96273] trunk/dports/python/py-mayavi/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Aug 6 14:06:54 PDT 2012


Revision: 96273
          https://trac.macports.org/changeset/96273
Author:   ryandesign at macports.org
Date:     2012-08-06 14:06:51 -0700 (Mon, 06 Aug 2012)
Log Message:
-----------
py-mayavi: fix "no files matched glob pattern" error (#34342)

Modified Paths:
--------------
    trunk/dports/python/py-mayavi/Portfile

Modified: trunk/dports/python/py-mayavi/Portfile
===================================================================
--- trunk/dports/python/py-mayavi/Portfile	2012-08-06 20:55:53 UTC (rev 96272)
+++ trunk/dports/python/py-mayavi/Portfile	2012-08-06 21:06:51 UTC (rev 96273)
@@ -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"
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120806/16d9c179/attachment.html>


More information about the macports-changes mailing list