No good deed goes unpunished! The recent version bump that contained
only "minor build system and documentation fixes" broke the build. The
upstream v0.8 tarball contains symlinks to various important files
instead of the files themselves, and that doesn't always work. Instead,
we now run eautoreconf in src_prepare() to (re)generate those files.
Closes: https://bugs.gentoo.org/696986
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
EAPI=7
+inherit autotools
+
DESCRIPTION="Compute rank-width decompositions of graphs"
HOMEPAGE="https://sourceforge.net/projects/rankwidth/"
SRC_URI="https://downloads.sourceforge.net/project/rankwidth/${P}.tar.gz"
DOCDIR="/usr/share/doc/${PF}"
+src_prepare() {
+ # The upstream tarball for v0.8 contains SYMLINKS to ar-lib,
+ # compile, install-sh, ltmain.sh, etc. And those symlinks don't
+ # always point to a working location for us, so we have to
+ # (re)generate actual files for that stuff. Bug 696986.
+ eautoreconf
+ default
+}
+
src_configure(){
econf $(use_enable executable) --docdir="${EPREFIX}${DOCDIR}"
}