[MacPorts] #50342: doxygen @1.8.10_2 does not build on PPC Tiger, Mac OS X 10.4.11, because of Python code error?
MacPorts
noreply at macports.org
Mon Feb 29 00:36:19 PST 2016
#50342: doxygen @1.8.10_2 does not build on PPC Tiger, Mac OS X 10.4.11, because of
Python code error?
------------------------------+--------------------------------
Reporter: Peter_Dyballa@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: doxygen |
------------------------------+--------------------------------
Comment (by cal@…):
We need a unified diff of a change in the Portfile that fixes this. Since
the variable is `PYTHON_EXECUTABLE`, you could probably do something along
the lines of
{{{
configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7
}}}
However, python 2.7 is not in the transitive dependency tree of cmake on
my machine:
{{{
$ port rdeps --index cmake
The following ports are dependencies of cmake @3.4.3_0:
curl
lbzip2
pkgconfig
libiconv
gperf
zlib
xz
gettext
expat
ncurses
openssl
curl-ca-bundle
perl5
perl5.22
gdbm
bzip2
libarchive
libxml2
lzo2
}}}
I'd like to keep it that way for all platforms where `/usr/bin/python` is
sufficient. So you'll have to do this conditionally in a block that checks
the version number:
{{{
platform darwin {
if {${os.major} <= 9} {
configure.args-append ...
depends_build-append port:python27
}
}
}}}
where the version number still needs to be determined.
--
Ticket URL: <https://trac.macports.org/ticket/50342#comment:9>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list