commit: 57dbd4a0c591e4c1fe219d6883c54b5a19e6ac27 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Tue Oct 8 22:04:47 2019 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Tue Oct 8 22:07:10 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57dbd4a0
sci-mathematics/rw: new revision to fix the build. 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 <AT> gentoo.org> sci-mathematics/rw/{rw-0.8.ebuild => rw-0.8-r1.ebuild} | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sci-mathematics/rw/rw-0.8.ebuild b/sci-mathematics/rw/rw-0.8-r1.ebuild similarity index 74% rename from sci-mathematics/rw/rw-0.8.ebuild rename to sci-mathematics/rw/rw-0.8-r1.ebuild index 97ddc55d7a6..9a873189398 100644 --- a/sci-mathematics/rw/rw-0.8.ebuild +++ b/sci-mathematics/rw/rw-0.8-r1.ebuild @@ -3,6 +3,8 @@ 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" @@ -20,6 +22,15 @@ RDEPEND="${DEPEND} 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}" }
