commit: 8e614f1fe3d86c3ed796c4fbb4512bd3bea49371 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sat Oct 20 18:22:07 2018 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sat Oct 20 18:51:09 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e614f1f
app-misc/cdircmp: Fix build with ncurses[tinfo] Thanks-to: SÅ‚awomir Nizio Closes: https://bugs.gentoo.org/665036 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-misc/cdircmp/cdircmp-0.3-r2.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app-misc/cdircmp/cdircmp-0.3-r2.ebuild b/app-misc/cdircmp/cdircmp-0.3-r2.ebuild index 928b138f683..320af7a9c01 100644 --- a/app-misc/cdircmp/cdircmp-0.3-r2.ebuild +++ b/app-misc/cdircmp/cdircmp-0.3-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,6 +15,9 @@ KEYWORDS="amd64 ~ppc x86" IUSE="" RDEPEND=">=sys-libs/ncurses-5.4:0=" +DEPEND="${RDEPEND} + virtual/pkgconfig +" src_prepare() { sed -i Makefile \ @@ -26,7 +29,7 @@ src_prepare() { src_compile() { emake CC="$(tc-getCC)" \ CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" + LDFLAGS="$(pkg-config --libs ncurses) ${LDFLAGS}" } src_install() {