--- /opt/gentoo/usr/portage/dev-db/sqlite/sqlite-3.6.22-r1.ebuild 2010-01-22 03:33:29 -0800 +++ sqlite-3.6.22-r1.ebuild 2010-02-03 22:22:17 -0800 @@ -36,14 +36,22 @@ rm -f test/like.test fi + local doeautoreconf=0 if use tcl || use test; then epatch "${FILESDIR}"/${P}-interix-fixes.patch epatch "${FILESDIR}"/${P}-dlopen.patch # bug 300836 - eautoreconf # dlopen.patch patches configure.ac + doeautoreconf=1 # dlopen.patch patches configure.ac else epatch "${FILESDIR}"/${P}-interix-fixes-amalgamation.patch fi + if [[ ${CHOST} == *-interix* ]] ; then + libtoolize --force --copy + doeautoreconf=1 + fi + + [[ ${doeautoreconf} == 1 ]] && eautoreconf + epunt_cxx elibtoolize # for MiNT }