sys-devel/distcc: Fix for prefix
authorJustin Lecher <jlec@gentoo.org>
Wed, 28 Oct 2015 11:45:01 +0000 (12:45 +0100)
committerJustin Lecher <jlec@gentoo.org>
Wed, 28 Oct 2015 13:35:59 +0000 (14:35 +0100)
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
sys-devel/distcc/distcc-3.1-r10.ebuild

index f700ea22274e8a64c5f8480cdb78e4de67ffea9d..23d17939d4654f336124c2bd24b9d90d7607f7c2 100644 (file)
@@ -130,12 +130,12 @@ src_install() {
                newins "doc/example/xinetd" distcc
        fi
 
-       rm -rf "${D}/etc/default" || die
-       rm -f "${D}/etc/distcc/clients.allow" || die
-       rm -f "${D}/etc/distcc/commands.allow.sh" || die
+       rm -rf "${ED}/etc/default" || die
+       rm -f "${ED}/etc/distcc/clients.allow" || die
+       rm -f "${ED}/etc/distcc/commands.allow.sh" || die
 
        python_fix_shebang "${ED}"
-       python_optimize "${ED}"/$(python_get_sitedir)
+       python_optimize
 }
 
 pkg_postinst() {