From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 48B3D138334 for ; Tue, 8 Oct 2019 22:08:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D8A3E0835; Tue, 8 Oct 2019 22:07:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2137FE0835 for ; Tue, 8 Oct 2019 22:07:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 89DF734BA76 for ; Tue, 8 Oct 2019 22:07:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1829E7F8 for ; Tue, 8 Oct 2019 22:07:56 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1570572430.57dbd4a0c591e4c1fe219d6883c54b5a19e6ac27.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/rw/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/rw/rw-0.8-r1.ebuild sci-mathematics/rw/rw-0.8.ebuild X-VCS-Directories: sci-mathematics/rw/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 57dbd4a0c591e4c1fe219d6883c54b5a19e6ac27 X-VCS-Branch: master Date: Tue, 8 Oct 2019 22:07:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b3e3da6e-eaba-46a8-9edd-8ce5596cc8a8 X-Archives-Hash: bfd12120543dee2490c2b1085dee886f commit: 57dbd4a0c591e4c1fe219d6883c54b5a19e6ac27 Author: Michael Orlitzky gentoo org> AuthorDate: Tue Oct 8 22:04:47 2019 +0000 Commit: Michael Orlitzky gentoo 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 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}" }