Thanks-to: Sławomir Nizio
Closes: https://bugs.gentoo.org/665036
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
IUSE=""
RDEPEND=">=sys-libs/ncurses-5.4:0="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
src_prepare() {
sed -i Makefile \
src_compile() {
emake CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}"
+ LDFLAGS="$(pkg-config --libs ncurses) ${LDFLAGS}"
}
src_install() {