Change your ports' gettext dependencies!
ryandesign at macports.org
Sun Dec 26 20:06:24 UTC 2021
On Dec 25, 2021, at 10:47, Ryan Schmidt wrote:
> Hi! If you maintain (or work on updating, or review a PR that updates) a port that depends on the gettext internationalization library (libintl.dylib):
> depends_lib-append port:gettext
> Please change it to:
> depends_build-append port:gettext
> depends_lib-append port:gettext-runtime
> This is necessary to ensure that gettext's library is installed for the correct architectures when other ports are installed (i.e. that it is rebuilt with the universal variant when needed).
> See: https://trac.macports.org/ticket/64291
Josh has pointed out in the ticket that not all ports need the gettext build dependency. Those that use auto(re)conf do, and select others may as well. The remaining ports may be able to just use the gettext-runtime library dependency. Please use your best judgement (and, for example, testing by using trace mode) in deciding how to update your ports' gettext dependencies.
More information about the macports-dev