commit:     6e3ff01e7d1ebe9692345fd965c46258d899813e
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Wed Oct 23 14:46:13 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Oct 24 02:54:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e3ff01e

net-misc/tigervnc: Fix doc install dir

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 <AT> tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/13396
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/tigervnc/tigervnc-1.9.0-r1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/net-misc/tigervnc/tigervnc-1.9.0-r1.ebuild 
b/net-misc/tigervnc/tigervnc-1.9.0-r1.ebuild
index fcdaa1be8ac..8238651efc1 100644
--- a/net-misc/tigervnc/tigervnc-1.9.0-r1.ebuild
+++ b/net-misc/tigervnc/tigervnc-1.9.0-r1.ebuild
@@ -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

Reply via email to