From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-842894-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 5E24D13888F
	for <garchives@archives.gentoo.org>; Wed, 28 Oct 2015 13:36:09 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 722DC21C028;
	Wed, 28 Oct 2015 13:36:07 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 160B621C028
	for <gentoo-commits@lists.gentoo.org>; Wed, 28 Oct 2015 13:36:06 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 455B2340566
	for <gentoo-commits@lists.gentoo.org>; Wed, 28 Oct 2015 13:36:06 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D7A52184E
	for <gentoo-commits@lists.gentoo.org>; Wed, 28 Oct 2015 13:36:02 +0000 (UTC)
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" <jlec@gentoo.org>
Message-ID: <1446039359.65beef0476c9f8a4b22a7cebb66d6bcd039915c9.jlec@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/distcc/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-devel/distcc/distcc-3.1-r10.ebuild
X-VCS-Directories: sys-devel/distcc/
X-VCS-Committer: jlec
X-VCS-Committer-Name: Justin Lecher
X-VCS-Revision: 65beef0476c9f8a4b22a7cebb66d6bcd039915c9
X-VCS-Branch: master
Date: Wed, 28 Oct 2015 13:36:02 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: c939aab5-9da3-4bef-8b78-d184c35ed901
X-Archives-Hash: 5354238c03b03d93f0981ec6d44e30ec

commit:     65beef0476c9f8a4b22a7cebb66d6bcd039915c9
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 28 11:45:01 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Oct 28 13:35:59 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65beef04

sys-devel/distcc: Fix for prefix

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sys-devel/distcc/distcc-3.1-r10.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-devel/distcc/distcc-3.1-r10.ebuild b/sys-devel/distcc/distcc-3.1-r10.ebuild
index f700ea2..23d1793 100644
--- a/sys-devel/distcc/distcc-3.1-r10.ebuild
+++ b/sys-devel/distcc/distcc-3.1-r10.ebuild
@@ -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() {