commit:     4d9c2013be1131a1e3998b086aaea010a8a50ad5
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  9 17:47:39 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Feb  9 18:10:18 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d9c2013

media-sound/ncmpc: Fix html docdir

Closes: https://bugs.gentoo.org/676084
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-sound/ncmpc/ncmpc-0.33-r1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/media-sound/ncmpc/ncmpc-0.33-r1.ebuild 
b/media-sound/ncmpc/ncmpc-0.33-r1.ebuild
index d1eff94cb12..73b2c26e51a 100644
--- a/media-sound/ncmpc/ncmpc-0.33-r1.ebuild
+++ b/media-sound/ncmpc/ncmpc-0.33-r1.ebuild
@@ -34,10 +34,13 @@ src_prepare() {
        default
 
        # use correct docdir and don't install license file
-       sed \
-               -e "/^docdir =/s/meson.project_name()/'${PF}'/" \
+       sed -e "/^docdir =/s/meson.project_name()/'${PF}'/" \
                -e "s/'COPYING', //" \
                -i meson.build || die
+
+       # use correct (html) docdir
+       sed -e "/install_dir:.*doc/s/meson.project_name()/'${PF}'/" \
+               -i doc/meson.build || die
 }
 
 src_configure() {

Reply via email to