commit:     81617850a515b5eaa3802383c2303c276aea90ce
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 10 22:05:32 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Sep 10 22:06:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81617850

games-board/sjeng: Respect CC by running eautoreconf

Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-board/sjeng/sjeng-11.2_p8_p1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/games-board/sjeng/sjeng-11.2_p8_p1.ebuild 
b/games-board/sjeng/sjeng-11.2_p8_p1.ebuild
index 19dd3691097..dc0f65449a0 100644
--- a/games-board/sjeng/sjeng-11.2_p8_p1.ebuild
+++ b/games-board/sjeng/sjeng-11.2_p8_p1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit prefix
+inherit autotools prefix
 
 MY_PV=$(ver_cut 1-2)
 # 11.2_p8_p1 -> 11.2-8.1
@@ -33,6 +33,10 @@ src_prepare() {
        eapply "${WORKDIR}/sjeng_${MY_DEB_PV}.diff"
        QUILT_PATCHES="debian/patches" QUILT_SERIES="debian/patches/series" 
quilt push -a || die
        hprefixify book.c rcfile.c
+
+       # Files generated with ancient autotools, regenerate to respect CC.
+       mv configure.{in,ac} || die
+       eautoreconf
 }
 
 src_install() {

Reply via email to