From da35ab1fc27a36f42abce2a8963dea2d21cd3889 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Sat, 22 Aug 2026 17:48:54 +0300 Subject: [PATCH] dev-libs/cjose: fix doc install Closes: https://bugs.gentoo.org/980674 Signed-off-by: Arthur Zamarin --- dev-libs/cjose/cjose-0.6.2.8.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-libs/cjose/cjose-0.6.2.8.ebuild b/dev-libs/cjose/cjose-0.6.2.8.ebuild index 5c521018985d1..155560054643e 100644 --- a/dev-libs/cjose/cjose-0.6.2.8.ebuild +++ b/dev-libs/cjose/cjose-0.6.2.8.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenIDC/cjose/releases/download/v${PV}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="doc test" +IUSE="+doc test" RESTRICT="!test? ( test )" RDEPEND=" @@ -42,6 +42,12 @@ src_configure() { econf "${myconf[@]}" } +src_compile() { + emake + # need to invoke doc generation, otherwise it doesn't get installed properly + use doc && emake doxygen +} + src_install() { default find "${ED}" -type f -name '*.la' -delete || die