commit:     e6e3c91b2e092158c6fb066cc91da73cbe4fdcc7
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  6 06:39:12 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Apr  6 06:45:14 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6e3c91b

net-im/pidgin: networkmanager requires dbus (bug #579012).

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-im/pidgin/pidgin-2.10.12-r2.ebuild | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/net-im/pidgin/pidgin-2.10.12-r2.ebuild 
b/net-im/pidgin/pidgin-2.10.12-r2.ebuild
index 86d8b5f..aa8dcdc 100644
--- a/net-im/pidgin/pidgin-2.10.12-r2.ebuild
+++ b/net-im/pidgin/pidgin-2.10.12-r2.ebuild
@@ -84,8 +84,9 @@ DEPEND="$RDEPEND
 
 DOCS="AUTHORS HACKING NEWS README ChangeLog"
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
-               dbus? ( ${PYTHON_REQUIRED_USE} )"
+REQUIRED_USE="dbus? ( ${PYTHON_REQUIRED_USE} )
+               networkmanager? ( dbus )
+               python? ( ${PYTHON_REQUIRED_USE} )"
 
 # Enable Default protocols
 DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
@@ -161,12 +162,10 @@ src_configure() {
        replace-flags -O? -O2
        use pie && CFLAGS="${CFLAGS} -fPIE -pie"
 
-       local myconf
+       local myconf=()
 
        if use gadu; then
                DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
-                       myconf="${myconf} --with-gadu-includes=."
-                       myconf="${myconf} --with-gadu-libs=."
        fi
 
        use groupwise && DYNAMIC_PRPLS+=",novell"
@@ -178,18 +177,18 @@ src_configure() {
 
        if use gnutls; then
                einfo "Disabling NSS, using GnuTLS"
-               myconf+=" --enable-nss=no --enable-gnutls=yes"
-               myconf+=" --with-gnutls-includes=${EPREFIX}/usr/include/gnutls"
-               myconf+=" --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir)"
+               myconf+=( --enable-nss=no --enable-gnutls=yes )
+               myconf+=( --with-gnutls-includes=${EPREFIX}/usr/include/gnutls )
+               myconf+=( --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir) )
        else
                einfo "Disabling GnuTLS, using NSS"
-               myconf+=" --enable-gnutls=no --enable-nss=yes"
+               myconf+=( --enable-gnutls=no --enable-nss=yes )
        fi
 
        if use dbus || { use ncurses && use python; }; then
-               myconf+=" --with-python=${PYTHON}"
+               myconf+=( --with-python=${PYTHON} )
        else
-               myconf+=" --without-python"
+               myconf+=( --without-python )
        fi
 
        econf \
@@ -221,7 +220,7 @@ src_configure() {
                --with-dynamic-prpls="${DYNAMIC_PRPLS}" \
                --disable-mono \
                --x-includes="${EPREFIX}"/usr/include/X11 \
-               ${myconf}
+               ${myconf[@]}
                #$(use_enable mono) \
 }
 

Reply via email to