mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
games-rpg/freedroidrpg: drop unnecessary macro from configure.ac
Closes: https://bugs.gentoo.org/921033 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
AC_INCLUDES_DEFAULT isn't actually needed and it causes a QA warning.
|
||||
|
||||
https://bugs.gentoo.org/921033
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -402,7 +402,6 @@ dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
SILENT_BOX([Checking types])
|
||||
|
||||
AC_HEADER_DIRENT
|
||||
-AC_INCLUDES_DEFAULT
|
||||
AC_PROG_EGREP
|
||||
|
||||
AC_CHECK_HEADERS_ONCE([sys/time.h])
|
||||
@@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-3 )
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
inherit lua-single python-any-r1 xdg
|
||||
inherit autotools lua-single python-any-r1 xdg
|
||||
|
||||
DESCRIPTION="Modification of the classical Freedroid engine into an RPG"
|
||||
HOMEPAGE="https://www.freedroid.org/"
|
||||
@@ -30,13 +30,19 @@ RDEPEND="
|
||||
media-libs/glew:0=
|
||||
media-libs/libglvnd[X]
|
||||
)
|
||||
sound? ( media-libs/sdl-mixer[vorbis] )"
|
||||
sound? ( media-libs/sdl-mixer[vorbis] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
sys-devel/gettext
|
||||
app-alternatives/awk
|
||||
virtual/pkgconfig"
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.0-AC_INCLUDES_DEFAULT.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
lua-single_pkg_setup
|
||||
@@ -46,6 +52,8 @@ pkg_setup() {
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
|
||||
python_fix_shebang src/gen_savestruct.py
|
||||
rm data/sound/speak.py || die # unused, skip install + python rdep
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user