On Tue, Jul 26, 2005, Michael van Elst wrote: > On Mon, Jul 25, 2005 at 07:38:11PM -0400, Lois Bennett wrote: > > > The spec file for samba assumes that the default for using LDAP in > > building samba is 'no' but the samba configure has 'yes' or 'auto' as > > the default. > > I always prefer an explicit setting for all cases and a comparison > against "yes". The option could have any value, so treating anything > not equal to "yes" as "no" is a bit more predictable. > > %if "%{with_ldap}" == "yes" > --with-ldap=yes > %else > --with-ldap=no > %endif
Now done. Thanks for the hint. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List openpkg-users@openpkg.org