Subject: Re: skill package changes for NetBSD >= 1.5
To: Simon Burge <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 06/23/2000 04:40:18
On Fri, 23 Jun 2000, Simon Burge wrote:
> I'd like to change the skill package to use the new sysctls so that
> it doesn't need to be installed setgid kmem.  I need to know in the
> Makefile if ${OS_VERSION} is 1.5 or later - is there an easy way I can
> do what I want (see the XXXXX bits below)?  I couldn't find an example
> with a quick glance at other pkgsrc Makefiles.
> 	.if ${KPROC2} > 0
> 	.else
> 	BINMODE=	02555
> 	.endif

no -DUVM when KPROC2 is enabled? 

In any case, please make sure you send your changes back to the pkg's

BTW, another approach would be to let (auto)configure do the detection,
but I don't know offhands if skill uses that. Might be a suggestion for
improvement to the author if you send him back your changes. :)

 - Hubert

NetBSD - because Unix isn't just #include <linux.h>, i386, ILP32, ELF, ...!