Subject: Re: CVS commit: pkgsrc/mk
To: grant beattie <grant@netbsd.org>
From: Jukka Salmi <j+nbsd@2004.salmi.ch>
List: tech-pkg
Date: 12/05/2004 14:43:13
Hi,

grant beattie wrote:
> 
> Module Name:	pkgsrc
> Committed By:	grant
> Date:		Sun Dec  5 09:20:48 UTC 2004
> 
> Modified Files:
> 	pkgsrc/mk: bsd.options.mk
> 
> Log Message:
> add show-options target which displays the options available, default,
> and enabled for the current pkg, eg. mail/sendmail:
> 
> available: db2 db4 inet6 ldap sasl sasl2 socketmap starttls tcpwrappers
> default: canna esound gif idea inet6 inet6 sj3 tcpwrappers wnn4
> enabled: inet6 tcpwrappers
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.11 -r1.12 pkgsrc/mk/bsd.options.mk
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.

Very nice, thank you!

But it generates some noise if PKG_OPTIONS is empty:

$ cd security/sudo && make show-options
make: "../../mk/../../mk/bsd.options.mk" line 186: warning: Couldn't read shell's output for "echo  | /usr/bin/xargs -n 1 | /usr/bin/sort"
available: PAM kerberos ldap
default: canna esound gif inet6 sj3 wnn4
enabled: 

I'm not sure how to solve this.


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~