commit: 4c31d664b64fabe7bf9f4d6528acf06057456e11 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sun Oct 2 12:18:25 2016 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sun Oct 2 12:37:23 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c31d664
sys-devel/distcc: Use zeroconf instead of avahi USE flag (#477620) Package-Manager: portage-2.3.1 sys-devel/distcc/distcc-3.2_rc1-r4.ebuild | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sys-devel/distcc/distcc-3.2_rc1-r4.ebuild b/sys-devel/distcc/distcc-3.2_rc1-r4.ebuild index 1b5defa..80ea675 100644 --- a/sys-devel/distcc/distcc-3.2_rc1-r4.ebuild +++ b/sys-devel/distcc/distcc-3.2_rc1-r4.ebuild @@ -16,13 +16,12 @@ SRC_URI="https://distcc.googlecode.com/files/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="avahi crossdev gnome gssapi gtk hardened ipv6 selinux xinetd" +IUSE="crossdev gnome gssapi gtk hardened ipv6 selinux xinetd zeroconf" RESTRICT="test" CDEPEND="${PYTHON_DEPS} dev-libs/popt - avahi? ( >=net-dns/avahi-0.6[dbus] ) gnome? ( >=gnome-base/libgnome-2 >=gnome-base/libgnomeui-2 @@ -30,7 +29,9 @@ CDEPEND="${PYTHON_DEPS} x11-libs/pango ) gssapi? ( net-libs/libgssglue ) - gtk? ( x11-libs/gtk+:2 )" + gtk? ( x11-libs/gtk+:2 ) + zeroconf? ( >=net-dns/avahi-0.6[dbus] ) +" DEPEND="${CDEPEND} virtual/pkgconfig" RDEPEND="${CDEPEND} @@ -91,10 +92,10 @@ src_configure() { use ipv6 && myconf="${myconf} --enable-rfc2553" econf \ - $(use_with avahi) \ $(use_with gtk) \ $(use_with gnome) \ $(use_with gssapi auth) \ + $(use_with zeroconf avahi) \ ${myconf} } @@ -107,7 +108,7 @@ src_install() { systemd_install_serviced "${FILESDIR}/distccd.service.conf" cp "${FILESDIR}/3.2/conf" "${T}/distccd" || die - if use avahi; then + if use zeroconf; then cat >> "${T}/distccd" <<-EOF # Enable zeroconf support in distccd