summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-12-02 09:33:55 +0100
committerMichał Górny <mgorny@gentoo.org>2018-12-02 09:38:16 +0100
commitc490307e1fed73d11892a8ba651843e093a5080c (patch)
tree6ddb49a2231756f411106439affb4925d69a300a /sys-devel
parentsys-devel/distcc: Improve src_configure readability (diff)
downloadgentoo-c490307e1fed73d11892a8ba651843e093a5080c.tar.gz
gentoo-c490307e1fed73d11892a8ba651843e093a5080c.tar.bz2
gentoo-c490307e1fed73d11892a8ba651843e093a5080c.zip
sys-devel/distcc: Use 'newenvd -'
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/distcc/distcc-3.3.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys-devel/distcc/distcc-3.3.ebuild b/sys-devel/distcc/distcc-3.3.ebuild
index aa78ecf5d2b8..f7c6c521c1ba 100644
--- a/sys-devel/distcc/distcc-3.3.ebuild
+++ b/sys-devel/distcc/distcc-3.3.ebuild
@@ -109,7 +109,7 @@ src_install() {
fi
doconfd "${T}/distccd"
- cat > "${T}/02distcc" <<-EOF || die
+ newenvd - 02distcc <<-EOF || die
# This file is managed by distcc-config; use it to change these settings.
# DISTCC_LOG and DISTCC_DIR should not be set.
DISTCC_VERBOSE="${DISTCC_VERBOSE:-0}"
@@ -121,7 +121,6 @@ src_install() {
DISTCC_ENABLE_DISCREPANCY_EMAIL="${DISTCC_ENABLE_DISCREPANCY_EMAIL}"
DCC_EMAILLOG_WHOM_TO_BLAME="${DCC_EMAILLOG_WHOM_TO_BLAME}"
EOF
- doenvd "${T}/02distcc"
keepdir /usr/lib/distcc