Gentoo Archives: gentoo-commits

From: Benda XU <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/distcc/
Date: Tue, 20 Mar 2018 13:55:19
Message-Id: 1521554108.cdf626434fe90a2b89c89b9cfba521619d4d28c2.heroxbd@gentoo
1 commit: cdf626434fe90a2b89c89b9cfba521619d4d28c2
2 Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 20 13:54:37 2018 +0000
4 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 20 13:55:08 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdf62643
7
8 sys-devel/distcc: support prefix.
9
10 autotools not needed anymore.
11
12 Package-Manager: Portage-2.3.24, Repoman-2.3.6
13
14 sys-devel/distcc/distcc-3.3.ebuild | 7 +++----
15 1 file changed, 3 insertions(+), 4 deletions(-)
16
17 diff --git a/sys-devel/distcc/distcc-3.3.ebuild b/sys-devel/distcc/distcc-3.3.ebuild
18 index b79f9b9f756..4a7e74e0c42 100644
19 --- a/sys-devel/distcc/distcc-3.3.ebuild
20 +++ b/sys-devel/distcc/distcc-3.3.ebuild
21 @@ -5,7 +5,7 @@ EAPI=6
22
23 PYTHON_COMPAT=( python3_{5,6} )
24
25 -inherit autotools flag-o-matic python-single-r1 systemd toolchain-funcs user xdg-utils
26 +inherit flag-o-matic python-single-r1 systemd toolchain-funcs user xdg-utils prefix
27
28 MY_P="${P/_}"
29 DESCRIPTION="Distribute compilation of C code across several machines on a network"
30 @@ -74,8 +74,7 @@ src_prepare() {
31 -e "s:@libdir@:/usr/$(get_libdir):" \
32 "${FILESDIR}/3.2/distcc-config" > "${T}/distcc-config" || die
33
34 - eaclocal -Im4 --output=aclocal.m4
35 - eautoconf
36 + hprefixify update-distcc-symlinks.py src/{serve,daemon}.c
37 }
38
39 src_configure() {
40 @@ -177,7 +176,7 @@ pkg_postinst() {
41 elog
42 elog "***SECURITY NOTICE***"
43 elog "Since distcc-3.3, whitelist is used for what distccd could execute. The whilelist"
44 - elog "has to be generated manually by invoking `update-distcc-symlinks`. To revert"
45 + elog "has to be generated manually by invoking \`update-distcc-symlinks\`. To revert"
46 elog "to the old behavior, you need to pass --make-me-a-botnet to distccd in"
47 elog "/etc/conf.d/distccd. Cf. https://github.com/distcc/distcc/pull/243."
48 }