summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-08-17 09:36:11 +0200
committerMichał Górny <mgorny@gentoo.org>2017-08-17 09:44:20 +0200
commit10f2fcff55d2e5a38effe1fb4626f59e7f89f5e1 (patch)
tree92e09ede3ca768a644171453838fa4eff753025c /sys-devel/distcc/distcc-3.2_rc1-r4.ebuild
parentdev-util/jenkins-bin: add 2.60.3 (diff)
downloadgentoo-10f2fcff55d2e5a38effe1fb4626f59e7f89f5e1.tar.gz
gentoo-10f2fcff55d2e5a38effe1fb4626f59e7f89f5e1.tar.bz2
gentoo-10f2fcff55d2e5a38effe1fb4626f59e7f89f5e1.zip
sys-devel/distcc: Fix hardcoded systemd path, #625478
Diffstat (limited to 'sys-devel/distcc/distcc-3.2_rc1-r4.ebuild')
-rw-r--r--sys-devel/distcc/distcc-3.2_rc1-r4.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-devel/distcc/distcc-3.2_rc1-r4.ebuild b/sys-devel/distcc/distcc-3.2_rc1-r4.ebuild
index 50e6f3328266..94a42143b8a8 100644
--- a/sys-devel/distcc/distcc-3.2_rc1-r4.ebuild
+++ b/sys-devel/distcc/distcc-3.2_rc1-r4.ebuild
@@ -114,7 +114,7 @@ src_install() {
DISTCCD_OPTS="\${DISTCCD_OPTS} --zeroconf"
EOF
- sed -i '/ExecStart/ s|$| --zeroconf|' "${ED}"/usr/lib/systemd/system/distccd.service || die
+ sed -i '/ExecStart/ s|$| --zeroconf|' "${D}$(systemd_get_systemunitdir)"/distccd.service || die
fi
doconfd "${T}/distccd" || die