Skip to content

Commit

Permalink
games-arcade/alienwave: fix building with ncurses[tinfo]
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/690230
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Stefan Strogin <[email protected]>
  • Loading branch information
steils committed Aug 14, 2019
1 parent 757c7b3 commit f5b64fe
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions games-arcade/alienwave/alienwave-0.4.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=7

inherit toolchain-funcs

DESCRIPTION="An ncurses-based Xenon clone"
HOMEPAGE="http://www.alessandropira.org/alienwave/aw.html"
Expand All @@ -14,11 +16,16 @@ IUSE=""

DEPEND="sys-libs/ncurses:0"
RDEPEND=${DEPEND}
BDEPEND="virtual/pkgconfig"

S="${WORKDIR}/${PN}"

PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )

src_compile() {
emake LIB="$($(tc-getPKG_CONFIG) --libs ncurses)"
}

src_install() {
dobin alienwave
dodoc TO_DO README STORY
Expand Down

0 comments on commit f5b64fe

Please sign in to comment.