commit:     8fdc38a726c736a53e956162bcc91f3aa49aa7b6
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Wed Apr 29 16:59:16 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Apr 30 11:59:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fdc38a7

net-p2p/amule: Add missing readline dep to live ebuild

Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-p2p/amule/amule-9999.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/net-p2p/amule/amule-9999.ebuild b/net-p2p/amule/amule-9999.ebuild
index f14cc28e5c4..a108c975290 100644
--- a/net-p2p/amule/amule-9999.ebuild
+++ b/net-p2p/amule/amule-9999.ebuild
@@ -27,6 +27,7 @@ RDEPEND="
        dev-libs/boost:=
        dev-libs/crypto++:=
        sys-libs/binutils-libs:0=
+       sys-libs/readline:0=
        sys-libs/zlib
        >=x11-libs/wxGTK-3.0.4:${WX_GTK_VER}[X?]
        daemon? ( acct-user/amule )
@@ -42,8 +43,10 @@ RDEPEND="
 DEPEND="${RDEPEND}
        X? ( dev-util/desktop-file-utils )
 "
-BDEPEND="virtual/pkgconfig
-       nls? ( sys-devel/gettext )"
+BDEPEND="
+       virtual/pkgconfig
+       nls? ( sys-devel/gettext )
+"
 
 PATCHES=(
 )
@@ -55,7 +58,7 @@ pkg_setup() {
 src_prepare() {
        default
 
-       if [[ "${PV}" == *9999 ]]; then
+       if [[ ${PV} == 9999 ]]; then
                ./autogen.sh || die
        fi
 }

Reply via email to