Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/zile/
Date: Wed, 07 Feb 2018 22:27:33
Message-Id: 1518042338.c646da6efad8ea922cf6f47487c2907fd41cdaa5.ulm@gentoo
1 commit: c646da6efad8ea922cf6f47487c2907fd41cdaa5
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 7 22:11:15 2018 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 7 22:25:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c646da6e
7
8 app-editors/zile: Retrieve list of ncurses libs from pkg-config.
9
10 Fixes build failure with sys-apps/ncurses[tinfo].
11
12 Closes: https://bugs.gentoo.org/646916
13 Package-Manager: Portage-2.3.24, Repoman-2.3.6
14
15 app-editors/zile/zile-2.3.24-r2.ebuild | 6 +++++-
16 app-editors/zile/zile-2.4.13.ebuild | 6 +++++-
17 app-editors/zile/zile-2.4.14.ebuild | 6 +++++-
18 3 files changed, 15 insertions(+), 3 deletions(-)
19
20 diff --git a/app-editors/zile/zile-2.3.24-r2.ebuild b/app-editors/zile/zile-2.3.24-r2.ebuild
21 index ff2a5d21a82..bc74d29787a 100644
22 --- a/app-editors/zile/zile-2.3.24-r2.ebuild
23 +++ b/app-editors/zile/zile-2.3.24-r2.ebuild
24 @@ -3,6 +3,8 @@
25
26 EAPI=6
27
28 +inherit toolchain-funcs
29 +
30 DESCRIPTION="Zile is a small Emacs clone"
31 HOMEPAGE="https://www.gnu.org/software/zile/"
32 SRC_URI="mirror://gnu/zile/${P}.tar.gz"
33 @@ -14,6 +16,7 @@ IUSE="test valgrind"
34
35 RDEPEND="sys-libs/ncurses:0="
36 DEPEND="${RDEPEND}
37 + virtual/pkgconfig
38 test? ( valgrind? ( dev-util/valgrind ) )"
39
40 PATCHES=("${FILESDIR}"/${P}-{userhome,gets}.patch)
41 @@ -22,7 +25,8 @@ src_configure() {
42 # --without-emacs to suppress tests for GNU Emacs #630652
43 econf \
44 --without-emacs \
45 - $(use test && use_with valgrind || echo "--without-valgrind")
46 + $(use test && use_with valgrind || echo "--without-valgrind") \
47 + CURSES_LIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
48 }
49
50 src_install() {
51
52 diff --git a/app-editors/zile/zile-2.4.13.ebuild b/app-editors/zile/zile-2.4.13.ebuild
53 index d7578b2406f..d6136b4f5a1 100644
54 --- a/app-editors/zile/zile-2.4.13.ebuild
55 +++ b/app-editors/zile/zile-2.4.13.ebuild
56 @@ -3,6 +3,8 @@
57
58 EAPI=6
59
60 +inherit toolchain-funcs
61 +
62 DESCRIPTION="Zile is a small Emacs clone"
63 HOMEPAGE="https://www.gnu.org/software/zile/"
64 SRC_URI="mirror://gnu/zile/${P}.tar.gz"
65 @@ -17,6 +19,7 @@ RDEPEND=">=dev-libs/boehm-gc-7.2:=
66 acl? ( virtual/acl )"
67
68 DEPEND="${RDEPEND}
69 + virtual/pkgconfig
70 test? ( dev-lang/perl )"
71
72 QA_AM_MAINTAINER_MODE=".*help2man.*" #450278
73 @@ -26,7 +29,8 @@ src_configure() {
74 econf \
75 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
76 --without-emacs \
77 - $(use_enable acl)
78 + $(use_enable acl) \
79 + CURSES_LIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
80 }
81
82 src_install() {
83
84 diff --git a/app-editors/zile/zile-2.4.14.ebuild b/app-editors/zile/zile-2.4.14.ebuild
85 index 3754cfad686..3438a470a0a 100644
86 --- a/app-editors/zile/zile-2.4.14.ebuild
87 +++ b/app-editors/zile/zile-2.4.14.ebuild
88 @@ -3,6 +3,8 @@
89
90 EAPI=6
91
92 +inherit toolchain-funcs
93 +
94 DESCRIPTION="Zile is a small Emacs clone"
95 HOMEPAGE="https://www.gnu.org/software/zile/"
96 SRC_URI="mirror://gnu/zile/${P}.tar.gz"
97 @@ -17,6 +19,7 @@ RDEPEND=">=dev-libs/boehm-gc-7.2:=
98 acl? ( virtual/acl )"
99
100 DEPEND="${RDEPEND}
101 + virtual/pkgconfig
102 test? ( dev-lang/perl )"
103
104 QA_AM_MAINTAINER_MODE=".*help2man.*" #450278
105 @@ -27,7 +30,8 @@ src_configure() {
106 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
107 --without-emacs \
108 --disable-valgrind-tests \
109 - $(use_enable acl)
110 + $(use_enable acl) \
111 + CURSES_LIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
112 }
113
114 src_install() {