net-irc/irssi: Update live ebuild
authorSven Wegener <swegener@gentoo.org>
Sun, 13 Mar 2016 22:35:00 +0000 (22:35 +0000)
committerSven Wegener <swegener@gentoo.org>
Sun, 13 Mar 2016 22:36:58 +0000 (22:36 +0000)
Package-Manager: portage-2.2.26

net-irc/irssi/irssi-9999.ebuild

index 3572a448418d940f41782fbca17aa3925bd4995e..1f474ec22d06cd13efe402db9775e489101e54df 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI="6"
 
 inherit autotools perl-module git-r3
 
@@ -15,20 +15,26 @@ SLOT="0"
 KEYWORDS=""
 IUSE="ipv6 +perl selinux ssl socks5 +proxy libressl"
 
-CDEPEND="sys-libs/ncurses
+CDEPEND="sys-libs/ncurses:0=
        >=dev-libs/glib-2.6.0
-       ssl? ( !libressl? ( dev-libs/openssl:= ) libressl? ( dev-libs/libressl:= ) )
+       ssl? (
+               !libressl? ( dev-libs/openssl:= )
+               libressl? ( dev-libs/libressl:= )
+       )
        perl? ( dev-lang/perl )
        socks5? ( >=net-proxy/dante-1.1.18 )"
-DEPEND="${CDEPEND}
+
+DEPEND="
+       ${CDEPEND}
        virtual/pkgconfig
-       >=sys-devel/autoconf-2.58
        dev-lang/perl
        || (
                www-client/lynx
                www-client/elinks
        )"
-RDEPEND="${CDEPEND}
+
+RDEPEND="
+       ${CDEPEND}
        selinux? ( sec-policy/selinux-irc )
        perl? ( !net-im/silc-client )"
 
@@ -36,6 +42,7 @@ src_prepare() {
        sed -i -e /^autoreconf/d autogen.sh || die
        NOCONFIGURE=1 ./autogen.sh || die
 
+       eapply_user
        eautoreconf
 }
 
@@ -44,6 +51,7 @@ src_configure() {
                --with-ncurses="${EPREFIX}"/usr \
                --with-perl-lib=vendor \
                --enable-static \
+               --enable-true-color \
                $(use_with proxy) \
                $(use_with perl) \
                $(use_with socks5 socks) \
@@ -52,10 +60,7 @@ src_configure() {
 }
 
 src_install() {
-       emake \
-               DESTDIR="${D}" \
-               docdir="${EPREFIX}"/usr/share/doc/${PF} \
-               install
+       emake DESTDIR="${D}" install
 
        use perl && perl_delete_localpod