Subject: Re: Preliminary patch for Linux emulation
To: None <tech-pkg@netbsd.org>
From: None <joerg@britannica.bec.de>
List: tech-pkg
Date: 12/11/2005 21:04:32
On Sun, Dec 11, 2005 at 03:21:29AM +0000, Johnny C. Lam wrote:
> 
> I think Joerg's idea of only listing ONLY_FOR_PLATFORM in a single
> location is the correct one, and we should definitely move toward
> that.  Joerg's posted patch is fairly limited in scope and does fix
> up this one problem.  However, it would be really nice if we could
> scrap that whole Linux emulation mess and put in something better.

I wanted to keep the change as small as possible with the intention of
getting it into the Q4 branch. Working Linux emu packages is certainly a
good thing :-)

> wip/mk/linuxbin.pkg.mk is mostly the right way to do this, but I would
> rename it to /usr/pkgsrc/emulators/linux/binpkg.mk and extend it with
> something like the code below (completely untested).  The idea is that
> a package Makefile for a Linux binary package would include a snippet
> like the following:

I'll look at that. Question is, how do we want to go on with the branch?
I think I need at least one or two days for this :-)

Joerg