From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 206B1138330 for ; Fri, 30 Sep 2016 10:10:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BEC12E07A3; Fri, 30 Sep 2016 10:10:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1A7FE07A3 for ; Fri, 30 Sep 2016 10:10:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3538E340861 for ; Fri, 30 Sep 2016 10:10:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58609248D for ; Fri, 30 Sep 2016 10:10:17 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1475230209.bc1312e96cc802d29752794079de9e120d179fe9.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libxcb/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/libxcb/libxcb-1.12-r1.ebuild X-VCS-Directories: x11-libs/libxcb/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: bc1312e96cc802d29752794079de9e120d179fe9 X-VCS-Branch: master Date: Fri, 30 Sep 2016 10:10:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5d0109fc-2db7-4ff6-bd5e-218d772747e1 X-Archives-Hash: 07ebef1b071bd8c57c03646017f4b625 commit: bc1312e96cc802d29752794079de9e120d179fe9 Author: Alexis Ballier gentoo org> AuthorDate: Fri Sep 30 10:10:03 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Fri Sep 30 10:10:09 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc1312e9 x11-libs/libxcb: use proper phase for removing man pages. Removing files from $D has nothing to do with pkg_preinst and moreover it breaks with FEATURES=noman... Package-Manager: portage-2.3.1 x11-libs/libxcb/libxcb-1.12-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x11-libs/libxcb/libxcb-1.12-r1.ebuild b/x11-libs/libxcb/libxcb-1.12-r1.ebuild index 772464b..bd74866 100644 --- a/x11-libs/libxcb/libxcb-1.12-r1.ebuild +++ b/x11-libs/libxcb/libxcb-1.12-r1.ebuild @@ -57,7 +57,8 @@ src_configure() { xorg-2_src_configure } -pkg_preinst() { +src_install() { + xorg-2_src_install if ! use doc; then rm -r "${D}"/usr/share/man || die fi