[68800] trunk/dports/lang/python26/Portfile

blb at macports.org blb at macports.org
Sun Jun 13 19:18:39 PDT 2010


Revision: 68800
          http://trac.macports.org/changeset/68800
Author:   blb at macports.org
Date:     2010-06-13 19:18:34 -0700 (Sun, 13 Jun 2010)
Log Message:
-----------
lang/python26 - fix catch usage which broke on tcl < 8.5, was not using those variables anyway; follow to ticket #25221

Modified Paths:
--------------
    trunk/dports/lang/python26/Portfile

Modified: trunk/dports/lang/python26/Portfile
===================================================================
--- trunk/dports/lang/python26/Portfile	2010-06-14 01:20:22 UTC (rev 68799)
+++ trunk/dports/lang/python26/Portfile	2010-06-14 02:18:34 UTC (rev 68800)
@@ -81,7 +81,7 @@
 
    # Check for whether tk is installed for X11 or Quartz (to avoid trying
    # to link to X11 in the Quartz case, ticket #25221)
-   if {[catch {exec grep "^TK_LIBS.*X11" ${prefix}/lib/tkConfig.sh > /dev/null 2>@1} results options]} {
+   if {[catch {exec grep "^TK_LIBS.*X11" ${prefix}/lib/tkConfig.sh > /dev/null 2>@1}]} {
       # Error from grep means not found, so Quartz
       system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch-setup.py_tkquartz.diff"
    }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100613/325bf288/attachment-0001.html>


More information about the macports-changes mailing list