From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3A39C158020 for ; Sat, 19 Nov 2022 09:24:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B7D1E086C; Sat, 19 Nov 2022 09:24:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0F09FE07FE for ; Sat, 19 Nov 2022 09:24:50 +0000 (UTC) From: Matthew Smith To: gentoo-dev@lists.gentoo.org Cc: Matthew Smith Subject: [gentoo-dev] [PATCH 1/4] waf-utils.eclass: add default mandir setting Date: Sat, 19 Nov 2022 09:23:55 +0000 Message-Id: <20221119092358.280588-2-matthew@gentoo.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221119092358.280588-1-matthew@gentoo.org> References: <20221119092358.280588-1-matthew@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 7c681d82-c146-407b-9a6a-b9d1fad017d0 X-Archives-Hash: 20e90c0d9886ab30bc22a1c14fcd231c Closes: https://bugs.gentoo.org/376149 Signed-off-by: Matthew Smith --- eclass/waf-utils.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass index cfcefed5227..b73866072f7 100644 --- a/eclass/waf-utils.eclass +++ b/eclass/waf-utils.eclass @@ -88,6 +88,9 @@ waf-utils_src_configure() { if [[ ${waf_help} == *--libdir* ]]; then conf_args+=( --libdir="${EPREFIX}/usr/$(get_libdir)" ) fi + if [[ ${waf_help} == *--mandir* ]]; then + conf_args+=( --mandir="${EPREFIX}"/usr/share/man ) + fi tc-export AR CC CPP CXX RANLIB -- 2.38.1