[MacPorts] #32306: glib2, glib2-devel: build fails when "python" is not 2.5 thru 2.7
MacPorts
noreply at macports.org
Wed Nov 30 23:55:47 PST 2011
#32306: glib2, glib2-devel: build fails when "python" is not 2.5 thru 2.7
---------------------------------+------------------------------------------
Reporter: gotyaoi@… | Owner: ryandesign@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: glib2, glib2-devel
---------------------------------+------------------------------------------
Comment(by ryandesign@…):
Replying to [comment:7 gale@…]:
> So you mean use the Mac OS X
> native python 2 for Leopard and up, I assume.
Yes. Probably:
{{{
configure.python /usr/bin/python
}}}
And then maybe some reinplacing somewhere to tell it to use that.
> But
> then what to do for Tiger?
Add a dependency on python27 and tell it to use that python instead.
> Is there some way to depend on a
> python port just for Tiger?
Sure:
{{{
platform darwin 8 {
depends_lib-append port:python27
configure.python ${prefix}/bin/python2.7
}
}}}
> Another idea is to have a port called something like
> "python2minimal" that just creates a symlink to
> /usr/bin/python for Leopard and up,
No, we don't need anything that complicated. We just need to inform glib2
what python it should use.
--
Ticket URL: <https://trac.macports.org/ticket/32306#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list