app-misc/tmux: rely on libutempter
authorJason A. Donenfeld <zx2c4@gentoo.org>
Sun, 21 Feb 2016 00:39:54 +0000 (01:39 +0100)
committerJason A. Donenfeld <zx2c4@gentoo.org>
Sun, 21 Feb 2016 00:42:21 +0000 (01:42 +0100)
If utempter.h is installed, tmux unconditionally links against
libutempter, and there isn't a configure switch to disable it. As such,
systems that already had installed libutempter (for use with, say, mosh)
found that there would be issues when libutempter was removed, since it
wasn't an explicit dependency of this package. Meanwhile, there were
issues with the other utempter (non-lib prefix), causing that to be a
blocker. So, the fix for both of these at once is to replace the blocker
against utempter with a dependency on libutempter, because libutempter
already blocks utempter. This simplifes things greatly.

Fixes: 566990
Fixes: 560652
Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
app-misc/tmux/tmux-2.1.ebuild
app-misc/tmux/tmux-9999.ebuild

index 9a9ea612da8513a76245349da51faa7c480998b2..9862e65ee629fbb2074a9c90ba0e702532b0adf2 100644 (file)
@@ -22,7 +22,7 @@ CDEPEND="
                =dev-libs/libevent-2.0*
                >=dev-libs/libevent-2.1.5-r4
        )
-       !sys-apps/utempter
+       sys-libs/libutempter
        sys-libs/ncurses:0="
 DEPEND="${CDEPEND}
        virtual/pkgconfig"
index 1e3c5867dabc8f1d58650ccea1f351f658f73409..2709b1a41bdbe59bebf8f6274980e8d298f67dee 100644 (file)
@@ -20,6 +20,7 @@ IUSE="debug selinux vim-syntax"
 
 CDEPEND="
        >=dev-libs/libevent-2.0.10
+       sys-libs/libutempter
        sys-libs/ncurses:0="
 DEPEND="${CDEPEND}
        virtual/pkgconfig"