The courier-authlib ebuild contains the following code: if has_version 'net-mail/vpopmail' ; then myconf="${myconf} --with-authvchkpw --without-authmysql --without-authpgsql" use mysql && ewarn "vpopmail found. authmysql will not be built." use postgres && ewarn "vpopmail found. authpgsql will not be built." else myconf="${myconf} --without-authvchkpw `use_with mysql authmysql` `use_with postgres authpgsql`" fi This is not correct. The ebuild authomatically enables the authvchkpw if vpopmail is installed but this is not consistent. dovecot has a (local) vpopmail useflag. Why not add another one for net-libs/courier-authlib?
Created attachment 107165 [details, diff] files/configure-gdbm.patch Remove obsolete macro even when the gdbm USE flag is set.
Created attachment 107167 [details, diff] Patch against courier-authlib-0.58.ebuild Fix ebuild to apply configure-gdbm.patch when the gdbm USE flag is set.
Sorry, these files were attached in error. They were meant for bug #160286. I hate Gentoo's bugzilla.
Fixed in the bump to courier-authlib-0.59.1