Makefile syntax for disabled NLS still looks for gettext
Tijl Coosemans
tijl at FreeBSD.org
Fri Apr 24 09:10:52 UTC 2015
On Fri, 24 Apr 2015 11:31:18 +0300 Beeblebrox via freebsd-ports <freebsd-ports at freebsd.org> wrote:
> I have found 2 ports that fail to build when "OPTIONS_FILE_UNSET+=NLS"
> is used. The error is the usual "GNU gettext tools not found" problem.
>
> The Makefile of both ports have:
> NLS_CONFIGURE_ENABLE= nls \ NLS_USES= gettext
> This should fix the problem but does not. What does the syntax need to
> be? I have seen examples like "NLS_USES= gettext-runtime", but that
> modification did not correct the problem either.
Gettext consists of developer tools and a runtime component. You can
depend on each separately like this:
USES=gettext-tools
NLS_CONFIGURE_ENABLE=nls
NLS_USES=gettext-runtime
More information about the freebsd-ports
mailing list