Skip to content

Commit

Permalink
sys-devel/distcc: support prefix.
Browse files Browse the repository at this point in the history
  autotools not needed anymore.

Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
heroxbd committed Mar 20, 2018
1 parent 378a5a0 commit cdf6264
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sys-devel/distcc/distcc-3.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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() {
Expand Down Expand Up @@ -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."
}
Expand Down

0 comments on commit cdf6264

Please sign in to comment.