Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2015 11:09:40 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Beeblebrox via freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: Makefile syntax for disabled NLS still looks for gettext
Message-ID:  <20150424110940.36528e79@kalimero.tijl.coosemans.org>
In-Reply-To: <20150424113118.60cdd20e@rsbsd.rsb>
References:  <20150424113118.60cdd20e@rsbsd.rsb>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 24 Apr 2015 11:31:18 +0300 Beeblebrox via freebsd-ports <freebsd-ports@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150424110940.36528e79>