commit:     c490307e1fed73d11892a8ba651843e093a5080c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  2 08:33:55 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec  2 08:38:16 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c490307e

sys-devel/distcc: Use 'newenvd -'

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/distcc/distcc-3.3.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys-devel/distcc/distcc-3.3.ebuild 
b/sys-devel/distcc/distcc-3.3.ebuild
index aa78ecf5d2b..f7c6c521c1b 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
 

Reply via email to