Subject: Re: pkg/20477: defs.Linux.mk assumes sed is in /bin, isn't on
To: None <tech-pkg@netbsd.org>
From: Julio Merino <jmmv@menta.net>
List: tech-pkg
Date: 02/24/2003 18:52:20
On Mon, 24 Feb 2003 12:42:19 -0500
Jan Schaumann <jschauma@netbsd.org> wrote:

> [ let's move this discussion to tech-pkg, shall we? ]

Yes.

> Julio Merino <jmmv@menta.net> wrote:
>  
> > I have some patches to fix the 'bootstrap' program to automatically
> > locate sed (and all other tools), so it does not break in linux...
> > This may be extended to the defs.Linux.mk file too...
> 
> I don't think that your changes should be made to defs.*.mk -- these
> files provide some reasonable defaults, that the user can overwrite as
> they see fit.  Assuming that users on Linux do get their tools from
> bootstrap-pkgsrc, it should be sufficient if the bootstrap-process tries
> to determine the correct location and sets some variables in
> /etc/mk.conf or even just informs the user of the problem.

Aha, that sounds good. Then, just keep defs.Linux.mk conformant to whatever
some linux standard defines (which one?) and override it only if needed...

> > Mmm... Linux...
> 
> ITYM wwww ;-)

Definitely ;)

-- 
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/