--- /usr/portage/mail-client/cone/cone-0.69.ebuild 2007-03-03 19:37:40.000000000 +0100 +++ cone-0.69.ebuild 2007-12-16 15:27:29.000000000 +0100 @@ -9,16 +9,25 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~ppc ~sparc ~x86" -IUSE="crypt fam spell" +IUSE="crypt fam ldap spell" RDEPEND=">=dev-libs/openssl-0.9.6 dev-libs/libxml2 fam? ( virtual/fam ) crypt? ( >=app-crypt/gnupg-1.0.4 ) - spell? ( virtual/aspell-dict )" + spell? ( virtual/aspell-dict ) + ldap? ( net-nds/openldap )" DEPEND="${RDEPEND} dev-lang/perl" +src_compile() { + econf \ + `use_with ldap ldapaddressbook` \ + || die "econf failed" + + emake || die "emake failed" +} + src_install() { emake install DESTDIR=${D} || die DESTDIR=${D} emake install-configure || die