x11-libs/libxcb: use proper phase for removing man pages.
authorAlexis Ballier <aballier@gentoo.org>
Fri, 30 Sep 2016 10:10:03 +0000 (12:10 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 30 Sep 2016 10:10:09 +0000 (12:10 +0200)
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

index 772464b044f731c0ee0f61d8e915083f8e49354a..bd74866996f07223c85c900a18610c1ee75dfb11 100644 (file)
@@ -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