Gentoo Archives: gentoo-commits

From: Stefan Strogin <steils@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/alienwave/
Date: Wed, 14 Aug 2019 03:40:04
Message-Id: 1565753842.f5b64fe013c99888cb244fe88f00582686247e55.steils@gentoo
1 commit: f5b64fe013c99888cb244fe88f00582686247e55
2 Author: Stefan Strogin <steils <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 14 03:37:22 2019 +0000
4 Commit: Stefan Strogin <steils <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 14 03:37:22 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5b64fe0
7
8 games-arcade/alienwave: fix building with ncurses[tinfo]
9
10 Closes: https://bugs.gentoo.org/690230
11 Package-Manager: Portage-2.3.71, Repoman-2.3.17
12 Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>
13
14 games-arcade/alienwave/alienwave-0.4.0-r1.ebuild | 11 +++++++++--
15 1 file changed, 9 insertions(+), 2 deletions(-)
16
17 diff --git a/games-arcade/alienwave/alienwave-0.4.0-r1.ebuild b/games-arcade/alienwave/alienwave-0.4.0-r1.ebuild
18 index eda16474a7f..7667f63fda5 100644
19 --- a/games-arcade/alienwave/alienwave-0.4.0-r1.ebuild
20 +++ b/games-arcade/alienwave/alienwave-0.4.0-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="An ncurses-based Xenon clone"
32 HOMEPAGE="http://www.alessandropira.org/alienwave/aw.html"
33 @@ -14,11 +16,16 @@ IUSE=""
34
35 DEPEND="sys-libs/ncurses:0"
36 RDEPEND=${DEPEND}
37 +BDEPEND="virtual/pkgconfig"
38
39 S="${WORKDIR}/${PN}"
40
41 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
42
43 +src_compile() {
44 + emake LIB="$($(tc-getPKG_CONFIG) --libs ncurses)"
45 +}
46 +
47 src_install() {
48 dobin alienwave
49 dodoc TO_DO README STORY