--- /usr/portage/mail-mta/courier/courier-0.65.2.ebuild 2010-12-08 18:06:09.000000000 +0100 +++ /usr/portage-overlay/mail-mta/courier/courier-0.65.2.ebuild 2010-12-16 13:38:31.489090000 +0100 @@ -12,7 +12,7 @@ # not in keywords due to missing dependencies: ~arm ~s390 ~ppc64 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" IUSE="postgres ldap mysql pam nls ipv6 spell fax crypt norewrite mailwrapper \ - fam web webmail" + fam web webmail db" PROVIDE="virtual/mta virtual/mda @@ -21,7 +21,8 @@ DEPEND=" >=net-libs/courier-authlib-0.61.0 >=dev-libs/openssl-0.9.6 - >=sys-libs/gdbm-1.8.0 + !db? ( >=sys-libs/gdbm-1.8.0 ) + db? ( sys-libs/db ) dev-libs/libpcre app-misc/mime-types fax? ( >=media-libs/netpbm-9.12 app-text/ghostscript-gpl >=net-dialup/mgetty-1.1.28 ) @@ -56,6 +57,7 @@ myconf="" use ldap && myconf="${myconf} --with-ldapconfig=/etc/courier/maildropldap.conf" + use db && myconf="${myconf} --with-db=db" econf ${myconf} \ $(use_with fam) \ @@ -77,7 +79,6 @@ --with-mailuser=mail \ --with-mailgroup=mail \ --with-paranoid-smtpext \ - --with-db=gdbm \ --disable-autorenamesent \ --cache-file="${S}/configuring.cache" \ --host="${CHOST}" debug=true || die "./configure"