Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libxcb/
Date: Fri, 30 Sep 2016 10:10:26
Message-Id: 1475230209.bc1312e96cc802d29752794079de9e120d179fe9.aballier@gentoo
1 commit: bc1312e96cc802d29752794079de9e120d179fe9
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 30 10:10:03 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 10:10:09 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc1312e9
7
8 x11-libs/libxcb: use proper phase for removing man pages.
9
10 Removing files from $D has nothing to do with pkg_preinst and moreover it breaks with FEATURES=noman...
11
12 Package-Manager: portage-2.3.1
13
14 x11-libs/libxcb/libxcb-1.12-r1.ebuild | 3 ++-
15 1 file changed, 2 insertions(+), 1 deletion(-)
16
17 diff --git a/x11-libs/libxcb/libxcb-1.12-r1.ebuild b/x11-libs/libxcb/libxcb-1.12-r1.ebuild
18 index 772464b..bd74866 100644
19 --- a/x11-libs/libxcb/libxcb-1.12-r1.ebuild
20 +++ b/x11-libs/libxcb/libxcb-1.12-r1.ebuild
21 @@ -57,7 +57,8 @@ src_configure() {
22 xorg-2_src_configure
23 }
24
25 -pkg_preinst() {
26 +src_install() {
27 + xorg-2_src_install
28 if ! use doc; then
29 rm -r "${D}"/usr/share/man || die
30 fi