muniversal and destroot paths

David Gilman davidgilman1 at gmail.com
Thu Dec 21 02:10:01 UTC 2023


Background: PostgreSQL ships its own zic binary, it is built as part
of the regular build and executed as part of make install / destroot.
To configure it to use this self-built zic binary I am feeding the
envvar ZIC=${worksrcpath}/src/timezone/zic to ./configure as part of
the Portfile configure phase.

For ticket #68693 the issue is that when building +universal the zic
binaries are built under the special arch-specific directories, the
ones that are ${worksrcpath} but with the arch appended to it. There
is no zic binary in the plain ${worksrcpath} which was the one that
was originally passed to ./configure. What is the best way to get the
right zic path (the worksrcpath for the archictecture of the host
system, not the worksrcpath for the arch it happens to be building
for) into the configure stage?

-- 
David Gilman
:DG<


More information about the macports-dev mailing list