patch according to https://bugs.gentoo.org/show_bug.cgi?id=377279 tested on libvirt-9999.ebuild,v 1.20 2012/02/15 22:45:31 cardoe Exp $ Creator: Michal Privoznik --- libvirt-9999.ebuild +++ libvirt-9999.ebuild @@ -99,6 +99,14 @@ [[ -n ${BACKPORTS} ]] && \ EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ epatch + # this has already been done by bootstrap but we're + #required to redo it to remove maintainer mode + ./bootstrap || die "bootstrap failed" + ( + git submodule status | sed 's/^[ +-]//;s/ .*//' + git hash-object bootstrap.conf + ) >.git-module-status + eautoreconf [[ -n ${AUTOTOOLIZE} ]] && eautoreconf } @@ -193,6 +201,9 @@ --docdir=/usr/share/doc/${PF} \ --with-remote \ --localstatedir=/var + + # HACK, restore gnulib's config.sub and config.guess + (cd .gnulib && git reset --hard >/dev/null) } src_test() {