Subject: Re: Preliminary patch for Linux emulation
To: Johnny C. Lam <email@example.com>
From: Geert Hendrickx <firstname.lastname@example.org>
Date: 12/11/2005 17:06:49
On Sun, Dec 11, 2005 at 03:21:29AM +0000, Johnny C. Lam wrote:
> On Sat, Dec 10, 2005 at 01:24:35PM -0800, Jeremy C. Reed wrote:
> > Thanks for your work on this. This will be helpful for me on my Linux
> > systems.
> > Maybe instead of hardcoding use of including
> > ../../emulators/suse_linux/Makefile.application create some generic
> > ../../mk/linux.mk (or linux-compat.mk) that does some of the same and
> > then (for now) just uses the suse_linux.
> > In pkgsrc-wip there is a wip/mk/linuxbin.pkg.mk that also may give some
> > ideas.
> > The idea is to later use Debian, Fedora and/or other Linux
> > distributions instead of just SuSE Linux.
> 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 also think this is the correct way to go. I already proposed something
similar in followup to PR#31812. I would like to help with the
implementation of such abstraction.