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"
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"
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 \
--with-dynamic-prpls="${DYNAMIC_PRPLS}" \
--disable-mono \
--x-includes="${EPREFIX}"/usr/include/X11 \
- ${myconf}
+ ${myconf[@]}
#$(use_enable mono) \
}