Subject: Re: support OPSYS that has a slash in filename and defs.BSDOS.mk and BSDOS.pkg.dist
To: Jeremy C. Reed <reed@reedmedia.net>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 10/10/2003 20:18:31
On Sat, Oct 04, 2003 at 12:51:36AM -0700, Jeremy C. Reed wrote:

> $ uname -s
> BSD/OS
> 
> Is it okay if mk/bsd.prefs.mk has:
> 
> OPSYS!=                 ${UNAME} -s | tr -d /
> 
> 
> Do all versions of tr(1) support "-d" switch?

I don't know, but it would be better to use the :S modifier, as it's
always available and saves a fork().

> I am working on BSD/OS support for pkgsrc. I have an initial
> mk/defs.BSDOS.mk and mk/BSDOS.pkg.dist.
> 
> mk/BSDOS.pkg.dist is just the same as mk/NetBSD.pkg.dist for now.
> 
> The following is mk/defs.BSDOS.mk. May I add it?

excellent! I would suggest holding off on this until after pkgsrc is
unfrozen, though.

g.