[42765] trunk/dports/devel/swig/Portfile

Adam Mercer ram at macports.org
Thu Dec 4 21:55:57 PST 2008


On Sun, Nov 30, 2008 at 12:08,  <mcalhoun at macports.org> wrote:
> Revision 42765 Author mcalhoun at macports.org Date 2008-11-30 10:08:24 -0800
> (Sun, 30 Nov 2008)
>
> Log Message
>
> swig: Added new languages (tcl, java, octave, and csharp).
> Fixed languages (php and gcj).
> Changed perl dependency (see #16830).

<snip>

> +    python      port:python26          python=${prefix}/bin/python2.6

This seems overkill to me, a while ago I submitted a ticket, #15854,
that recomended the use of port:python_select for the python variant
dependency as the contents of the swig python variant is identical no
matter which python variant is used (a diff results in zero
differences), and python_select defaults to the system python if no
python port is installed (or specified) which is perfectly fine for
swig.

The only possible modification is that python_select should probably
be modifed to suggest that a python port be installed, along the same
lines of when a python port recommends the installation, and running
of python_select. I should probably file a ticket for this...

Cheers

Adam


More information about the macports-dev mailing list