From: Lars Wendler Date: Thu, 18 Jul 2019 13:50:48 +0000 (+0200) Subject: x11-misc/touchcal: Fixed build with sys-libs/ncurses[tinfo] X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=29b18f38bf5b4caa16c40b0b1fd6c171b934c923;p=gentoo.git x11-misc/touchcal: Fixed build with sys-libs/ncurses[tinfo] Closes: https://bugs.gentoo.org/690084 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Lars Wendler --- diff --git a/x11-misc/touchcal/touchcal-0.80.ebuild b/x11-misc/touchcal/touchcal-0.80.ebuild index c20620986a9f..eed48ddb112c 100644 --- a/x11-misc/touchcal/touchcal-0.80.ebuild +++ b/x11-misc/touchcal/touchcal-0.80.ebuild @@ -1,7 +1,9 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=7 + +inherit toolchain-funcs DESCRIPTION="Touchscreen calibration utility" HOMEPAGE="http://touchcal.sourceforge.net/" @@ -19,3 +21,9 @@ DEPEND=" x11-libs/libXinerama " RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +src_compile() { + local PKGCONFIG="$(tc-getPKG_CONFIG)" + emake LDADD="$(${PKGCONFIG} --libs ncurses)" +}