sys-devel/distcc: Use 'newenvd -'
authorMichał Górny <mgorny@gentoo.org>
Sun, 2 Dec 2018 08:33:55 +0000 (09:33 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 2 Dec 2018 08:38:16 +0000 (09:38 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-devel/distcc/distcc-3.3.ebuild

index aa78ecf5d2b83b0ed94ada9c5660d88df5ee44a3..f7c6c521c1ba95aefcade9d8590f01b46227bb56 100644 (file)
@@ -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