commit:     2aa8114f759eccde4540f14e390ec09683275bc5
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 29 22:28:46 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Jul 29 22:31:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aa8114f

net-irc/weechat: fix doc destination dir name

Closes: https://bugs.gentoo.org/860396
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 net-irc/weechat/weechat-3.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-irc/weechat/weechat-3.5-r1.ebuild 
b/net-irc/weechat/weechat-3.5-r1.ebuild
index e06ceeeda127..5efa5fa8df55 100644
--- a/net-irc/weechat/weechat-3.5-r1.ebuild
+++ b/net-irc/weechat/weechat-3.5-r1.ebuild
@@ -114,7 +114,7 @@ src_prepare() {
        done
 
        # install docs in correct directory
-       sed -i "s#\${SHAREDIR}/doc/\${PROJECT_NAME}#\0-${PV}/html#" 
doc/*/CMakeLists.txt || die
+       sed -i "s#\${DATAROOTDIR}/doc/\${PROJECT_NAME}#\0-${PVR}/html#" 
doc/*/CMakeLists.txt || die
 
        if [[ ${CHOST} == *-darwin* ]]; then
                # fix linking error on Darwin

Reply via email to