Skip to content

Commit

Permalink
games-board/gnugo: [QA] Call AM_PROG_AR
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/720786
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
SoapGentoo committed Jun 23, 2020
1 parent 930af88 commit 256cdc3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
10 changes: 10 additions & 0 deletions games-board/gnugo/files/gnugo-3.9.1-autotools.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/configure.in
+++ b/configure.in
@@ -151,6 +151,7 @@

AC_PROG_CPP
AC_PROG_RANLIB
+AM_PROG_AR

dnl required since we use SUBDIRS in Makefile.am
AC_PROG_MAKE_SET
16 changes: 12 additions & 4 deletions games-board/gnugo/gnugo-3.9.1-r2.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=7

inherit autotools

DESCRIPTION="A Go-playing program"
HOMEPAGE="https://www.gnu.org/software/gnugo/devel.html"
Expand All @@ -14,15 +16,21 @@ IUSE="readline"

RDEPEND="
readline? ( sys-libs/readline:0= )
>=sys-libs/ncurses-5.2-r3:0=
"
>=sys-libs/ncurses-5.2-r3:0="
DEPEND="${RDEPEND}"

PATCHES=(
"${FILESDIR}"/${P}-invalid-move.patch
"${FILESDIR}"/${P}-format-security.patch
"${FILESDIR}"/${P}-autotools.patch
)

src_prepare() {
default
mv configure.{in,ac} || die
eautoreconf
}

src_configure() {
econf \
$(use_with readline) \
Expand Down

0 comments on commit 256cdc3

Please sign in to comment.