diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-10-20 20:22:07 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-10-20 20:51:09 +0200 |
commit | 8e614f1fe3d86c3ed796c4fbb4512bd3bea49371 (patch) | |
tree | 819567ea64a2b3ed7c76fe46f6c39e506ea2a672 /app-misc | |
parent | app-misc/gnutu: Upstream disappeared (diff) | |
download | gentoo-8e614f1fe3d86c3ed796c4fbb4512bd3bea49371.tar.gz gentoo-8e614f1fe3d86c3ed796c4fbb4512bd3bea49371.tar.bz2 gentoo-8e614f1fe3d86c3ed796c4fbb4512bd3bea49371.zip |
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@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/cdircmp/cdircmp-0.3-r2.ebuild | 7 |
1 files 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 928b138f683c..320af7a9c01d 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() { |