Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/galaxis/
Date: Thu, 18 Jul 2019 12:47:21
Message-Id: 1563454021.46955a32bc067d9550a3389271963e0a92b628c8.polynomial-c@gentoo
1 commit: 46955a32bc067d9550a3389271963e0a92b628c8
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 18 12:47:01 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 18 12:47:01 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46955a32
7
8 games-puzzle/galaxis: Fixed build with sys-libs/ncurses[tinfo]
9
10 Closes: https://bugs.gentoo.org/690080
11 Package-Manager: Portage-2.3.69, Repoman-2.3.16
12 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
13
14 games-puzzle/galaxis/galaxis-1.8-r1.ebuild | 12 ++++++++++--
15 1 file changed, 10 insertions(+), 2 deletions(-)
16
17 diff --git a/games-puzzle/galaxis/galaxis-1.8-r1.ebuild b/games-puzzle/galaxis/galaxis-1.8-r1.ebuild
18 index 73020c4a91e..d646f5a94a2 100644
19 --- a/games-puzzle/galaxis/galaxis-1.8-r1.ebuild
20 +++ b/games-puzzle/galaxis/galaxis-1.8-r1.ebuild
21 @@ -1,7 +1,9 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 +# Copyright 1999-2019 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=6
27 +EAPI=7
28 +
29 +inherit toolchain-funcs
30
31 DESCRIPTION="Curses-based clone of the nifty little Macintosh freeware game Galaxis"
32 HOMEPAGE="http://www.catb.org/~esr/galaxis/"
33 @@ -14,9 +16,15 @@ IUSE=""
34
35 DEPEND=">=sys-libs/ncurses-5.3:0="
36 RDEPEND="${DEPEND}"
37 +BDEPEND="virtual/pkgconfig"
38
39 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
40
41 +src_compile() {
42 + local PKGCONFIG="$(tc-getPKG_CONFIG)"
43 + emake TERMLIB="$(${PKGCONFIG} --libs ncurses)"
44 +}
45 +
46 src_install() {
47 dobin galaxis
48 doman galaxis.6