diff options
author | Sam James <sam@gentoo.org> | 2023-03-05 03:10:20 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-05 03:10:20 +0000 |
commit | 4df8b0dbdf3ddded4239a7e8f638d7001b164cfd (patch) | |
tree | 37d7ac1891f0fab43265136520fefdf20a9b7459 /games-puzzle | |
parent | games-simulation/senken: fix implicit func decls (diff) | |
download | gentoo-4df8b0dbdf3ddded4239a7e8f638d7001b164cfd.tar.gz gentoo-4df8b0dbdf3ddded4239a7e8f638d7001b164cfd.tar.bz2 gentoo-4df8b0dbdf3ddded4239a7e8f638d7001b164cfd.zip |
games-puzzle/freesweep: fix configure w/ clang 16
Closes: https://bugs.gentoo.org/899002
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/freesweep/freesweep-1.0.2-r1.ebuild (renamed from games-puzzle/freesweep/freesweep-1.0.2.ebuild) | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/games-puzzle/freesweep/freesweep-1.0.2.ebuild b/games-puzzle/freesweep/freesweep-1.0.2-r1.ebuild index abe5e0cb0e2b..b2a002295f08 100644 --- a/games-puzzle/freesweep/freesweep-1.0.2.ebuild +++ b/games-puzzle/freesweep/freesweep-1.0.2-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit autotools toolchain-funcs DESCRIPTION="Console Minesweeper" HOMEPAGE="https://github.com/rwestlund/freesweep" @@ -17,6 +17,14 @@ RDEPEND="sys-libs/ncurses:=" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" +src_prepare() { + default + + sed -i -e "s:configure.in:configure.ac:" Makefile.in || die + # Clang 16, bug #899002 + eautoreconf +} + src_compile() { emake LIBS="$($(tc-getPKG_CONFIG) --libs ncurses || die)" } |