Gentoo Archives: gentoo-commits

From: Jason Donenfeld <zx2c4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/
Date: Sun, 21 Feb 2016 00:42:26
Message-Id: 1456015341.26a14377821f2bb94c3f47723c33c6b4836fe007.zx2c4@gentoo
1 commit: 26a14377821f2bb94c3f47723c33c6b4836fe007
2 Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 21 00:39:54 2016 +0000
4 Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 21 00:42:21 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26a14377
7
8 app-misc/tmux: rely on libutempter
9
10 If utempter.h is installed, tmux unconditionally links against
11 libutempter, and there isn't a configure switch to disable it. As such,
12 systems that already had installed libutempter (for use with, say, mosh)
13 found that there would be issues when libutempter was removed, since it
14 wasn't an explicit dependency of this package. Meanwhile, there were
15 issues with the other utempter (non-lib prefix), causing that to be a
16 blocker. So, the fix for both of these at once is to replace the blocker
17 against utempter with a dependency on libutempter, because libutempter
18 already blocks utempter. This simplifes things greatly.
19
20 Fixes: 566990
21 Fixes: 560652
22 Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>
23
24 app-misc/tmux/tmux-2.1.ebuild | 2 +-
25 app-misc/tmux/tmux-9999.ebuild | 1 +
26 2 files changed, 2 insertions(+), 1 deletion(-)
27
28 diff --git a/app-misc/tmux/tmux-2.1.ebuild b/app-misc/tmux/tmux-2.1.ebuild
29 index 9a9ea61..9862e65 100644
30 --- a/app-misc/tmux/tmux-2.1.ebuild
31 +++ b/app-misc/tmux/tmux-2.1.ebuild
32 @@ -22,7 +22,7 @@ CDEPEND="
33 =dev-libs/libevent-2.0*
34 >=dev-libs/libevent-2.1.5-r4
35 )
36 - !sys-apps/utempter
37 + sys-libs/libutempter
38 sys-libs/ncurses:0="
39 DEPEND="${CDEPEND}
40 virtual/pkgconfig"
41
42 diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild
43 index 1e3c586..2709b1a 100644
44 --- a/app-misc/tmux/tmux-9999.ebuild
45 +++ b/app-misc/tmux/tmux-9999.ebuild
46 @@ -20,6 +20,7 @@ IUSE="debug selinux vim-syntax"
47
48 CDEPEND="
49 >=dev-libs/libevent-2.0.10
50 + sys-libs/libutempter
51 sys-libs/ncurses:0="
52 DEPEND="${CDEPEND}
53 virtual/pkgconfig"