[68792] trunk/dports/lang/python26

Ryan Schmidt ryandesign at macports.org
Sun Jun 13 18:41:53 PDT 2010


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?



More information about the macports-dev mailing list