dev-util/statifier: fix man page install

Closes: https://bugs.gentoo.org/954347
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2025-04-24 23:27:46 +02:00
parent f82b8f83f1
commit 70f15328ca
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/man/Makefile
+++ b/man/Makefile
@@ -17,7 +17,7 @@
MAN_1_SRC := $(addsuffix .in,$(MAN_1))
MAN_DIR_DEFAULT := /usr/share/man
-MAN_DIR_RPM := $(shell rpm --eval %_mandir 2>/dev/null || echo $(MAN_DIR_DEFAULT))
+MAN_DIR_RPM := /usr/share/man
MAN_DIR := $(DESTDIR)/$(MAN_DIR_RPM)

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -24,6 +24,7 @@ RDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-1.7.4-clang.patch
"${FILESDIR}"/${PN}-1.7.4-fix-build-system.patch
"${FILESDIR}"/${PN}-1.7.4-man-pages.patch
"${FILESDIR}"/${PN}-1.7.4-musl.patch
)