--- /usr/portage/net-libs/courier-authlib/courier-authlib-0.59.2.ebuild 2007-05-09 00:05:57.000000000 +0100 +++ courier-authlib-0.59.2.ebuild 2007-07-16 23:47:16.000000000 +0100 @@ -14,7 +14,7 @@ HOMEPAGE="http://www.courier-mta.org/" LICENSE="GPL-2" SLOT="0" -IUSE="berkdb crypt debug gdbm ldap mysql pam postgres vpopmail" +IUSE="berkdb crypt debug gdbm ldap mysql pam postgres vpopmail nocxx" RESTRICT="userpriv" @@ -60,7 +60,9 @@ sed -i -e"s|@@INDENT@@| |g" authmigrate.in || die "sed failed" sed -i -e"s|\$sbindir/makeuserdb||g" authmigrate.in || die "sed failed" + use nocxx && epatch "${FILESDIR}/${PV}-no-cxx.patch" eautoreconf + use nocxx && epunt_cxx } src_compile() {