From bc1312e96cc802d29752794079de9e120d179fe9 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Fri, 30 Sep 2016 12:10:03 +0200 Subject: [PATCH] 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 772464b044f7..bd74866996f0 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 -- 2.26.2