Set RDEPEND on <=sys-libs/ncurses-6.0 and do not install terminfo (bug #557454).
authorJeroen Roovers <jer@gentoo.org>
Fri, 14 Aug 2015 11:46:59 +0000 (13:46 +0200)
committerJeroen Roovers <jer@gentoo.org>
Fri, 14 Aug 2015 11:46:59 +0000 (13:46 +0200)
Package-Manager: portage-2.2.20.1

x11-terms/st/st-9999.ebuild

index 7cde185fdd8584eefc7d9e8fc41624eff04d2c07..7d6761273bf369a635cd1a2d7fdf2cd48a8f33d1 100644 (file)
@@ -11,18 +11,21 @@ EGIT_REPO_URI="git://git.suckless.org/st"
 
 LICENSE="MIT-with-advertising"
 SLOT="0"
-KEYWORDS=""
 IUSE="savedconfig"
 
-RDEPEND="media-libs/fontconfig
+RDEPEND="
+       !<sys-libs/ncurses-6.0
+       media-libs/fontconfig
        x11-libs/libX11
        x11-libs/libXext
-       x11-libs/libXft"
-DEPEND="${RDEPEND}
-       sys-libs/ncurses
+       x11-libs/libXft
+"
+DEPEND="
+       ${RDEPEND}
        virtual/pkgconfig
        x11-proto/xextproto
-       x11-proto/xproto"
+       x11-proto/xproto
+"
 
 src_prepare() {
        epatch_user
@@ -42,7 +45,6 @@ src_prepare() {
 
 src_install() {
        emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
-       tic -s -o "${ED}"/usr/share/terminfo st.info || die
        dodoc TODO
 
        make_desktop_entry ${PN} simpleterm utilities-terminal 'System;TerminalEmulator;' ''