From 4d9c2013be1131a1e3998b086aaea010a8a50ad5 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 9 Feb 2019 18:47:39 +0100 Subject: [PATCH] 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 --- 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 d1eff94cb125..73b2c26e51af 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() { -- 2.26.2