Subject: Re: BUILD_DEPENDS on gettext
To: Manuel Bouyer <>
From: Thomas Klausner <>
List: tech-pkg
Date: 10/14/2002 16:03:57
On Mon, Oct 14, 2002 at 03:58:31PM +0200, Manuel Bouyer wrote:
> The only remaining problem is a build dependancy: GNU grep requires
> the gettext binary to build. A
> BUILD_DEPENDS+=         gettext:../../devel/gettext
> doesn't look right, because on NetBSD (and possibly others)
> gettext is part of the base system.
> What is the right way of solving this ? I'm thinking at:
> .if ${OPSYS} == "SunOS" 
> as I didn't find predefines for GETTEXT in pkgsrc/mk/*

Normally, one uses BUILD_USES_MSGFMT in this case (though that
actually checks for msgfmt, but I think they only appear in pairs).


Thomas Klausner -
Main Rule of Usenet:  Never argue with idiots.  They drag you down to
their level, then beat you with experience.