summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2018-03-20 22:54:37 +0900
committerBenda Xu <heroxbd@gentoo.org>2018-03-20 22:55:08 +0900
commitcdf626434fe90a2b89c89b9cfba521619d4d28c2 (patch)
tree83358577ca484220472d199a778cf9ee71df3bdf /sys-devel/distcc
parentnet-firewall/ipt_netflow: version bump (diff)
downloadgentoo-cdf626434fe90a2b89c89b9cfba521619d4d28c2.tar.gz
gentoo-cdf626434fe90a2b89c89b9cfba521619d4d28c2.tar.bz2
gentoo-cdf626434fe90a2b89c89b9cfba521619d4d28c2.zip
sys-devel/distcc: support prefix.
autotools not needed anymore. Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-devel/distcc')
-rw-r--r--sys-devel/distcc/distcc-3.3.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-devel/distcc/distcc-3.3.ebuild b/sys-devel/distcc/distcc-3.3.ebuild
index b79f9b9f756..4a7e74e0c42 100644
--- a/sys-devel/distcc/distcc-3.3.ebuild
+++ b/sys-devel/distcc/distcc-3.3.ebuild
@@ -5,7 +5,7 @@ EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
-inherit autotools flag-o-matic python-single-r1 systemd toolchain-funcs user xdg-utils
+inherit flag-o-matic python-single-r1 systemd toolchain-funcs user xdg-utils prefix
MY_P="${P/_}"
DESCRIPTION="Distribute compilation of C code across several machines on a network"
@@ -74,8 +74,7 @@ src_prepare() {
-e "s:@libdir@:/usr/$(get_libdir):" \
"${FILESDIR}/3.2/distcc-config" > "${T}/distcc-config" || die
- eaclocal -Im4 --output=aclocal.m4
- eautoconf
+ hprefixify update-distcc-symlinks.py src/{serve,daemon}.c
}
src_configure() {
@@ -177,7 +176,7 @@ pkg_postinst() {
elog
elog "***SECURITY NOTICE***"
elog "Since distcc-3.3, whitelist is used for what distccd could execute. The whilelist"
- elog "has to be generated manually by invoking `update-distcc-symlinks`. To revert"
+ elog "has to be generated manually by invoking \`update-distcc-symlinks\`. To revert"
elog "to the old behavior, you need to pass --make-me-a-botnet to distccd in"
elog "/etc/conf.d/distccd. Cf. https://github.com/distcc/distcc/pull/243."
}