1 |
commit: 29b18f38bf5b4caa16c40b0b1fd6c171b934c923 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 18 13:50:48 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 18 13:51:03 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29b18f38 |
7 |
|
8 |
x11-misc/touchcal: Fixed build with sys-libs/ncurses[tinfo] |
9 |
|
10 |
Closes: https://bugs.gentoo.org/690084 |
11 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
12 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
13 |
|
14 |
x11-misc/touchcal/touchcal-0.80.ebuild | 10 +++++++++- |
15 |
1 file changed, 9 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/x11-misc/touchcal/touchcal-0.80.ebuild b/x11-misc/touchcal/touchcal-0.80.ebuild |
18 |
index c20620986a9..eed48ddb112 100644 |
19 |
--- a/x11-misc/touchcal/touchcal-0.80.ebuild |
20 |
+++ b/x11-misc/touchcal/touchcal-0.80.ebuild |
21 |
@@ -1,7 +1,9 @@ |
22 |
# Copyright 1999-2019 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI="6" |
26 |
+EAPI=7 |
27 |
+ |
28 |
+inherit toolchain-funcs |
29 |
|
30 |
DESCRIPTION="Touchscreen calibration utility" |
31 |
HOMEPAGE="http://touchcal.sourceforge.net/" |
32 |
@@ -19,3 +21,9 @@ DEPEND=" |
33 |
x11-libs/libXinerama |
34 |
" |
35 |
RDEPEND="${DEPEND}" |
36 |
+BDEPEND="virtual/pkgconfig" |
37 |
+ |
38 |
+src_compile() { |
39 |
+ local PKGCONFIG="$(tc-getPKG_CONFIG)" |
40 |
+ emake LDADD="$(${PKGCONFIG} --libs ncurses)" |
41 |
+} |