I'd like to have new USE flags called "abook", "nis" (or "yp"). The package "net-mail/lbdb" only compiles with abook support (builds specific query modules) when it finds abook includes/libraries. I'd like "net-mail/lbdb" to depend on "app-misc/abook" when the "abook" USE flag is set. Same goes for "nis"/"yp" ("net-nds/yp-tools") and "finger" ("net-misc/netkit-fingerd"). Reproducible: Always Steps to Reproduce: 1. 2. 3.
assigning back to bugwranglers, not a releng thing
A "gpg" USE flag would also be nice.
the 'crypt' USE flag should do
As much as this makes sense, the configure script does not support any method of enabling or disabling these features (in fact, it doesn't support enabling or disabled ldap or pda either-- already in the ebuild). Although I do not agree, I think it is policy not to add USE flags unless the features can be explicately disabled or enabled in the configure scripts. This is an upstream issue. I think the bug should be closed WONTFIX, and maybe when upstream adds the configure options, we can reopen it.
Wolfram, can you just let me know this is ok? I'd like to close the bug.
well, then we should add "hard" depends to those packages, because otherwise we have unpredictable behavior for the user, until we have an upstream fix.
*push* Cory, please tell me what you think of my proposal.
I agree with wschlich. And if we don't want to hard-depend on those packages, at least 'say something' in pkg_setup. Cheers, Ferdy
I like the hard deps solution best, because it's the only real straightforward solution.
I'll add a hard-depend on them if no-one says no in a couple of days. Cheers, Ferdy
I finally patched configure.in to allow enable/disable *some* of the deps... crypt, nis, abook and finger support is added through useflags (both enable/disable supported) lbdb-0.29-r1 is on the CVS. Please test and give feedback, reopen if you see something wrong. Cheers, Ferdy
cool, thanks! will test now. have you already sent your patch to roland?
Yes I did, and after reading his comments I think I'm going to improve it a bit to fit what he actually wants. Anyway I think the one I commited should work Cheers, Ferdy