Skip to content

Commit

Permalink
games-emulation/dgen-sdl: Call AM_PROG_AR
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/724410
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
SoapGentoo committed Jul 5, 2020
1 parent 1c9532d commit 50d012f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 10 deletions.
29 changes: 19 additions & 10 deletions games-emulation/dgen-sdl/dgen-sdl-1.33-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=7

inherit autotools

DESCRIPTION="A Linux/SDL-Port of the famous DGen MegaDrive/Genesis-Emulator"
HOMEPAGE="http://dgen.sourceforge.net/"
Expand All @@ -15,13 +17,19 @@ IUSE="joystick opengl"
RDEPEND="
media-libs/libsdl[joystick?,opengl?]
app-arch/libarchive
opengl? ( virtual/opengl )
"
DEPEND="${RDEPEND}
x86? ( dev-lang/nasm )
"

PATCHES=( "${FILESDIR}"/${P}-joystick.patch )
opengl? ( virtual/opengl )"
DEPEND="${RDEPEND}"
BDEPEND="x86? ( dev-lang/nasm )"

PATCHES=(
"${FILESDIR}"/${P}-joystick.patch
"${FILESDIR}"/${P}-AM_PROG_AR.patch
)

src_prepare() {
default
eautoreconf
}

src_configure() {
econf \
Expand All @@ -36,5 +44,6 @@ src_compile() {
}

src_install() {
DOCS="AUTHORS ChangeLog README sample.dgenrc" default
default
dodoc sample.dgenrc
}
10 changes: 10 additions & 0 deletions games-emulation/dgen-sdl/files/dgen-sdl-1.33-AM_PROG_AR.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,7 @@
AC_PROG_CXXCPP
AC_PROG_INSTALL
AC_PROG_LN_S
+AM_PROG_AR
AC_PROG_RANLIB

dnl Set the value of make, if make doesn't already.

0 comments on commit 50d012f

Please sign in to comment.