summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-07-18 15:50:48 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-07-18 15:51:03 +0200
commit29b18f38bf5b4caa16c40b0b1fd6c171b934c923 (patch)
tree0030ae7a972a62c0071d2ba5e1957e9cbb79da79 /x11-misc
parentapp-misc/recoll: amd64 stable wrt bug #689958 (diff)
downloadgentoo-29b18f38bf5b4caa16c40b0b1fd6c171b934c923.tar.gz
gentoo-29b18f38bf5b4caa16c40b0b1fd6c171b934c923.tar.bz2
gentoo-29b18f38bf5b4caa16c40b0b1fd6c171b934c923.zip
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 <polynomial-c@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/touchcal/touchcal-0.80.ebuild10
1 files changed, 9 insertions, 1 deletions
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)"
+}