net-misc/tigervnc: Fix doc install dir
authorAlexander Tsoy <alexander@tsoy.me>
Wed, 23 Oct 2019 14:46:13 +0000 (17:46 +0300)
committerJoonas Niilola <juippis@gentoo.org>
Thu, 24 Oct 2019 02:54:44 +0000 (05:54 +0300)
Do not rely on the build system to install docs.

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/13396
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
net-misc/tigervnc/tigervnc-1.9.0-r1.ebuild

index fcdaa1be8ac51fa3593b4fbfaf6ba919062f1cf2..8238651efc1a04b545171e2b574632574850d17d 100644 (file)
@@ -85,6 +85,10 @@ src_prepare() {
                cp -r "${WORKDIR}"/xorg-server-${XSERVER_VERSION}/. unix/xserver || die
        fi
 
+       # do not rely on the build system to install docs
+       sed -i 's:^\(install(.* DESTINATION ${DOC_DIR})\):#\1:' \
+               cmake/BuildPackages.cmake || die
+
        cmake-utils_src_prepare
 
        if use server ; then