games-arcade/ninvaders: fix building with ncurses[tinfo]
authorStefan Strogin <steils@gentoo.org>
Sat, 17 Aug 2019 22:05:51 +0000 (01:05 +0300)
committerStefan Strogin <steils@gentoo.org>
Sat, 17 Aug 2019 22:07:51 +0000 (01:07 +0300)
Closes: https://bugs.gentoo.org/690818
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Stefan Strogin <steils@gentoo.org>
games-arcade/ninvaders/ninvaders-0.1.1-r1.ebuild

index 84d3b0553b62a8ed75f7d19a6c4ff9d70942a49b..6ae1baeff5d000517eebbe9c169039f46d575795 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -21,7 +21,8 @@ PATCHES=( "${FILESDIR}"/${P}-compile.patch )
 src_compile() {
        emake \
                CC="$(tc-getCC)" \
-               CFLAGS="${CFLAGS}"
+               CFLAGS="${CFLAGS}" \
+               LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)"
 }
 
 src_install() {