1 |
commit: 359ffe81483db138196f20f3492d419fccf208de |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 2 09:14:37 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 2 09:14:37 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=359ffe81 |
7 |
|
8 |
media-video/matroxset: Fix building against sys-libs/ncurses[tinfo] (bug #646804). |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
media-video/matroxset/matroxset-0.4.ebuild | 24 ++++++++++++++---------- |
13 |
1 file changed, 14 insertions(+), 10 deletions(-) |
14 |
|
15 |
diff --git a/media-video/matroxset/matroxset-0.4.ebuild b/media-video/matroxset/matroxset-0.4.ebuild |
16 |
index cd27fbb824d..9fea3c6f173 100644 |
17 |
--- a/media-video/matroxset/matroxset-0.4.ebuild |
18 |
+++ b/media-video/matroxset/matroxset-0.4.ebuild |
19 |
@@ -1,20 +1,23 @@ |
20 |
-# Copyright 1999-2009 Gentoo Foundation |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
+EAPI=6 |
25 |
inherit toolchain-funcs |
26 |
|
27 |
-IUSE="" |
28 |
- |
29 |
DESCRIPTION="Matrox utility to switch output modes (activate tvout)" |
30 |
HOMEPAGE="ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/" |
31 |
SRC_URI="ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/${P}.tar.gz" |
32 |
- |
33 |
-DEPEND="sys-libs/ncurses" |
34 |
-RDEPEND="${DEPEND}" |
35 |
+LICENSE="GPL-2" |
36 |
|
37 |
SLOT="0" |
38 |
-LICENSE="GPL-2" |
39 |
KEYWORDS="amd64 ppc x86" |
40 |
+RDEPEND=" |
41 |
+ sys-libs/ncurses |
42 |
+" |
43 |
+DEPEND=" |
44 |
+ ${RDEPEND} |
45 |
+ virtual/pkgconfig |
46 |
+" |
47 |
|
48 |
doecho() { |
49 |
echo "$@" |
50 |
@@ -24,7 +27,8 @@ doecho() { |
51 |
src_compile() { |
52 |
doecho $(tc-getCC) -o ${PN} \ |
53 |
${CFLAGS} ${LDFLAGS} \ |
54 |
- ${PN}.c -lncurses \ |
55 |
+ ${PN}.c \ |
56 |
+ $($(tc-getPKG_CONFIG) --libs ncurses) \ |
57 |
|| die "build failed" |
58 |
|
59 |
#prepare small README |
60 |
@@ -38,7 +42,7 @@ _EOF_ |
61 |
} |
62 |
|
63 |
src_install() { |
64 |
- dobin matroxset || die |
65 |
+ dobin matroxset |
66 |
|
67 |
- dodoc README || die |
68 |
+ dodoc README |
69 |
} |