Subject: Re: USE_SASL is too general?
To: Adam C. Migus <adam@migus.org>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 12/30/2003 10:10:45
On Mon, Dec 29, 2003 at 06:08:21PM -0500, Adam C. Migus wrote:
> > I'm in a situation where I want to build databases/openldap without
> > SASL, but want to build mail/postfix _with_ SASL. If I do a
> > make update
> > somewhere things may break. Or am I missing something?
> >
> > /Daniel
>
> My apologies for not readily offering a solution but your post gave me
> an idea for this type situation. Wouldn't it be neat if you could say:
>
> .if (I'm building databases)
> USE_SASL=NO
> .else
> USE_SASL=YES
> .endif
you probably can. I agree these variables should be largely per-package
rather than system-wide.
you can also run "make package USE_SASL=YES".
> If there was a ${PKGNAME_NOVER} being ${PKGNAME} without the version
> information one could say something like:
>
> .if (${PKGNAME_NOVER} == "openldap")
${PKGBASE} :-)
grant.