Subject: Re: best practise of adding dependency on getopt.h?
To: Packages Technical List NetBSD Discussion <>
From: Joerg Sonnenberger <>
List: tech-pkg
Date: 01/02/2007 10:58:00
On Mon, Jan 01, 2007 at 05:10:02PM +0100, Georg Schwarz wrote:
> I discovered that a package (wip/weplab) requires getopt.h to compile  
> which is not present on Solaris 7.

Please check *first* whether it is actually using getopt_long or
getopt_long_only. If it is only using getopt, it should include unistd.h
and be patched accordingly. If it does not, the conditional version it