Index: tdb-1.2.9.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.9.ebuild,v retrieving revision 1.2 diff -u -b -B -r1.2 tdb-1.2.9.ebuild --- tdb-1.2.9.ebuild 27 Jun 2011 20:11:47 -0000 1.2 +++ tdb-1.2.9.ebuild 28 Jun 2011 02:49:20 -0000 @@ -5,7 +5,7 @@ EAPI=3 PYTHON_DEPEND="python? 2" -inherit waf-utils python +inherit eutils waf-utils python DESCRIPTION="A simple database API" HOMEPAGE="http://tdb.samba.org/" @@ -29,6 +86,11 @@ fi } +src_prepare() { + cd "$(waf-utils_waflibdir)" || die "Unable to patch waflib." + epatch "${FILESDIR}"/talloc-2.0.5-waf-multilib.patch +} + src_configure() { local extra_opts="" use python || extra_opts+=" --disable-python"