Subject: Re: mk.conf options
To: Masao Uebayashi <uebayasi@soum.co.jp>
From: Alistair Crooks <agc@wasabisystems.com>
List: netbsd-users
Date: 03/08/2002 13:16:55
Then you should get in touch with the person who added that definition,
and ask him to add it to the bsd.pkg.defaults.mk.

cvs annotate tells me:

1.26         (kleink   04-Oct-00): .if defined(USE_LDAP) && ${USE_LDAP} == YES
1.26         (kleink   04-Oct-00): WITH_LDAP=   --with-ldap=yes
1.36         (kleink   26-Oct-01): DEPENDS+=    openldap-[0-9]*:../../databases/openldap
1.26         (kleink   04-Oct-00): .else
1.26         (kleink   04-Oct-00): WITH_LDAP=   --with-ldap=no
1.26         (kleink   04-Oct-00): .endif
1.26         (kleink   04-Oct-00):

and cvs log tells me:

----------------------------
revision 1.26
date: 2000/10/04 12:55:14;  author: kleink;  state: Exp;  lines: +11 -3
Be deterministic about providing LDAP support.
----------------------------

So thanks for pointing it out - since bsd.pkg.defaults.mk is .include'd
to set all the defaults, it would be even more necessary to includean
explanation and a default value in bsd.pkg.defaults.mk.

Regards,
Alistair

On Fri, Mar 08, 2002 at 09:00:21PM +0900, Masao Uebayashi wrote:
> When I wrote the previous mail, I looked at editors/xemacs/Makefile,
> which refers to USE_XPM, USE_XAW, and USE_LDAP macros all of which all
> look like an option.  I couldn't and can't see USE_LDAP mentioned on
> pkgsrc/* and pkgsrc/mk/**/*, if my grep works correctly.
> 
> Masao
> 
> > Yes, all the options for all the packages are thoroughly listed.
> > 
> > If you mean "I suspect that not all the options", then I'd like to
> > know why - we've been collecting the settings from package Makefiles
> > over a number of years now, and any new settings should be added to
> > bsd.pkg.defaults.mk.