[MacPorts] #53143: libuv @1.10.1 does not build on PPC Tiger, Mac OS X
MacPorts
noreply at macports.org
Sat Dec 24 08:18:00 CET 2016
#53143: libuv @1.10.1 does not build on PPC Tiger, Mac OS X
------------------------+---------------------------
Reporter: ballapete | Owner: raimue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: tiger powerpc
Port: libuv |
------------------------+---------------------------
Comment (by kencu):
Although you are completely correct in pointing out the libuv @1.10.1 does
not build on Tiger (at least at this moment -- these things usually have a
way of working out in the end), I might guess that the reason you now need
libuv is because of the change in cmake-3.7.1; the portfile now specifies
the system-library versions of most libraries, one of which is libuv.
Cmake also includes it's own versions of the needed system libraries,
however, and these internal versions still build on Tiger (go figure).
So one way around your libuv issue is to edit the cmake portflle, remove
the requirement for libuv by commenting it out like this:
{{{
#depends_lib-append path:lib/pkgconfig/libuv.pc:libuv
}}}
and change the following configure arguments from this:
{{{
--init=${worksrcpath}/macports.cmake \
--system-libs \
--no-system-jsoncpp
}}}
to this
{{{
--init=${worksrcpath}/macports.cmake
}}}
then, when upgrading cmake, the system libuv is not required, and cmake
3.7.1 builds through to completion on Tiger without trouble.
{{{
$ port -v installed | grep cmake
cmake @3.6.3_0 platform='darwin 8' archs='ppc'
cmake @3.7.1_0 (active) platform='darwin 8' archs='ppc'
}}}
if you actually needed libuv for some other reason besides cmake - well,
obviously this won't help you. K.
--
Ticket URL: <https://trac.macports.org/ticket/53143#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list