summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-17 05:37:04 +0000
committerSam James <sam@gentoo.org>2021-03-17 05:40:30 +0000
commit5920d8d69674ce438e01432cff064b8ad2abea04 (patch)
tree2c2626a097b6db87b462eb28c658d8e9d3d1be3b
parentgames-board/mt_ncurses_client: regenerate against fixed macros (diff)
downloadgentoo-5920d8d69674ce438e01432cff064b8ad2abea04.tar.gz
gentoo-5920d8d69674ce438e01432cff064b8ad2abea04.tar.bz2
gentoo-5920d8d69674ce438e01432cff064b8ad2abea04.zip
games-board/mt_dolphin_ia: EAPI 7, regenerate against fixed macros
Closes: https://bugs.gentoo.org/729734 Closes: https://bugs.gentoo.org/716102 Closes: https://bugs.gentoo.org/715582 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98-r2.ebuild (renamed from games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98-r1.ebuild)24
1 files changed, 20 insertions, 4 deletions
diff --git a/games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98-r1.ebuild b/games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98-r2.ebuild
index c548718e2f1d..c6858bfa1ff3 100644
--- a/games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98-r1.ebuild
+++ b/games-board/mt_dolphin_ia/mt_dolphin_ia-0.1.98-r2.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
+inherit autotools
DESCRIPTION="client for the french tarot game maitretarot"
HOMEPAGE="http://www.nongnu.org/maitretarot/"
@@ -10,14 +12,28 @@ SRC_URI="https://savannah.nongnu.org/download/maitretarot/${PN}.pkg/${PV}/${P}.t
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+BDEPEND="virtual/pkgconfig"
DEPEND="dev-libs/glib:2
dev-libs/libxml2
dev-games/libmaitretarot
dev-games/libmt_client"
-RDEPEND=${DEPEND}
+RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-formatsecurity.patch
)
+
+src_prepare() {
+ default
+
+ mv configure.{in,ac} || die
+
+ # Remove bundled macros (avoid patching same file multiple times)
+ rm -rf m4/{libmaitretarot,libmt_client}.m4 || die
+
+ # Ensure we generate auto* with the fixed macros in tree
+ # (not bundled)
+ # bug #715582
+ eautoreconf
+}