summaryrefslogtreecommitdiff
path: root/games-puzzle/freesweep
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/freesweep')
-rw-r--r--games-puzzle/freesweep/Manifest2
-rw-r--r--games-puzzle/freesweep/freesweep-1.0.2-r1.ebuild (renamed from games-puzzle/freesweep/freesweep-1.0.2.ebuild)12
2 files changed, 11 insertions, 3 deletions
diff --git a/games-puzzle/freesweep/Manifest b/games-puzzle/freesweep/Manifest
index 7f51b69e4a8b..c127cf9afe84 100644
--- a/games-puzzle/freesweep/Manifest
+++ b/games-puzzle/freesweep/Manifest
@@ -1,3 +1,3 @@
DIST freesweep-1.0.2.tar.gz 93986 BLAKE2B 306c0e87448534c23c7754f9bedbaf9d72ee705bfdb3cc08a004076bd56a117f4bbb19f4676282edccc57286b5135d6714d6ad2e94a903235c8f4bb9a305ad77 SHA512 1695bb29efbaed5e6baf5faadcbd685e8e6b4ccb5d52567a833b5f5eeb69200fc220579fea7d6907bffc92a06e9b220bca494e8597394820a421f81f0af1d3aa
-EBUILD freesweep-1.0.2.ebuild 594 BLAKE2B 82eb1012fe39bb870aa1019d9a499740eb69443f3e4f62e1bd2c3cf963ea2e6f9d329426e8479b19ee50c6daafb9b069f752a0006c9b05e4c8531904be385543 SHA512 9d337152160815f391343763391d0aaa0a19eb71d3f51b873c75ef6763cfa9756d46add5e2900540efcede45d35eef35cea85e7f90f633a1831c28d03e7ff97c
+EBUILD freesweep-1.0.2-r1.ebuild 732 BLAKE2B 09d2039b1fa4329e8d700b55341d709fbf53da457a792571d563eb4ef3768a63405dd049c0fde73ef56eb7bf2880cb950b9f024a7509c5a9025618d3dca208c0 SHA512 5e8c2384c15aafefd2fe50c0d767a63b97d83dabd925db769294e4c7f858445a69469382a801bce911d1e6e5896e4a4ae168aab69e71749485e9c41dd8bda016
MISC metadata.xml 338 BLAKE2B a77722d450cf98aefc1863f0ae843136c7d0846947422884bbe565033566bd17fecdbe67fde708c624a3989c2082e9b07797d3ddf87c4ad01c579ba896d970cb SHA512 5cf55926ac66e6476db9ffde0ca7370f11348bd3785913794c2226706e42de3e045a8d33b39f68598f47b4e9f59885751dced131e9389c12a0db16908eb8bf38
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)"
}