Subject: Re: BUILD_DEPENDS on gettext
To: None <tech-pkg@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-pkg
Date: 10/14/2002 16:55:35
On Mon, Oct 14, 2002 at 04:03:57PM +0200, Thomas Klausner wrote:
> 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).

BUILD_USES_MSGFMT is what I need. Thanks !

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--