Gentoo Archives: gentoo-dev

From: Matthew Smith <matthew@g.o>
To: gentoo-dev@l.g.o
Cc: Matthew Smith <matthew@g.o>
Subject: [gentoo-dev] [PATCH 1/4] waf-utils.eclass: add default mandir setting
Date: Sat, 19 Nov 2022 09:24:54
Message-Id: 20221119092358.280588-2-matthew@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/4] waf-utils.eclass: various improvements by Matthew Smith
1 Closes: https://bugs.gentoo.org/376149
2 Signed-off-by: Matthew Smith <matthew@g.o>
3 ---
4 eclass/waf-utils.eclass | 3 +++
5 1 file changed, 3 insertions(+)
6
7 diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass
8 index cfcefed5227..b73866072f7 100644
9 --- a/eclass/waf-utils.eclass
10 +++ b/eclass/waf-utils.eclass
11 @@ -88,6 +88,9 @@ waf-utils_src_configure() {
12 if [[ ${waf_help} == *--libdir* ]]; then
13 conf_args+=( --libdir="${EPREFIX}/usr/$(get_libdir)" )
14 fi
15 + if [[ ${waf_help} == *--mandir* ]]; then
16 + conf_args+=( --mandir="${EPREFIX}"/usr/share/man )
17 + fi
18
19 tc-export AR CC CPP CXX RANLIB
20
21 --
22 2.38.1