[68792] trunk/dports/lang/python26

Blair Zajac blair at orcaware.com
Sun Jun 13 19:02:33 PDT 2010


On Jun 13, 2010, at 6:58 PM, Bryan Blackburn wrote:

> On Sun, Jun 13, 2010 at 08:41:53PM -0500, Ryan Schmidt said:
>>
>> On Jun 13, 2010, at 15:49, blb at macports.org wrote:
>>
>>> Revision: 68792
>>>         http://trac.macports.org/changeset/68792
>>> Author:   blb at macports.org
>>> Date:     2010-06-13 13:49:38 -0700 (Sun, 13 Jun 2010)
>>> Log Message:
>>> -----------
>>> lang/python26 - do not link in X11 when tk is installed with  
>>> +quartz, ticket #25221
>>
>>
>>> +   # 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]} {
>>> +      # Error from grep means not found, so Quartz
>>> +      system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch- 
>>> setup.py_tkquartz.diff"
>>> +   }
>>
>> That ought to be "2>&1" not "2>@1", right?
>
> Not in Tcl's exec, where @ is used for file id's instead of &.  See  
> 'man n
> exec' for all the gory details...

Well, something isn't working there on 10.5 ppc:

--->  Applying /opt/local/var/macports/sources/rsync.macports.org/ 
release/ports/lang/python26/files/patch-Mac-Tools-Doc-setup.py.diff
patching file Mac/Tools/Doc/setup.py
--->  Applying /opt/local/var/macports/sources/rsync.macports.org/ 
release/ports/lang/python26/files/patch-Lib-ctypes-macholib-dyld.py.diff
patching file Lib/ctypes/macholib/dyld.py
Error: Target org.macports.patch returned: wrong # args: should be  
"catch command ?varName?"
Warning: the following items did not execute (for python26):  
org.macports.patch
Log for python26 is at: /opt/local/var/macports/logs/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_lang_python26/main.log
Error: Status 1 encountered during processing.

Regards,
Blair



More information about the macports-dev mailing list