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 50C58158094 for ; Thu, 4 Aug 2022 17:55:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94709E0AB2; Thu, 4 Aug 2022 17:55:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 7374DE0AB2 for ; Thu, 4 Aug 2022 17:55:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 95C49340E24 for ; Thu, 4 Aug 2022 17:55:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51D711E for ; Thu, 4 Aug 2022 17:55:54 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1659635745.0db598483072a439474a1676aa96b19bd80f447a.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/man-db/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/man-db/man-db-2.10.2-r1.ebuild sys-apps/man-db/man-db-9999.ebuild X-VCS-Directories: sys-apps/man-db/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 0db598483072a439474a1676aa96b19bd80f447a X-VCS-Branch: master Date: Thu, 4 Aug 2022 17:55:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9ee537cd-aa44-40d5-9cbe-95c4f325c90f X-Archives-Hash: 51cddc791bca6b5586760f1d09d5b1bd commit: 0db598483072a439474a1676aa96b19bd80f447a Author: Mike Gilbert gentoo org> AuthorDate: Wed Aug 3 18:50:43 2022 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Thu Aug 4 17:55:45 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0db59848 sys-apps/man-db: disable color groff output only when USE=manpager Signed-off-by: Mike Gilbert gentoo.org> sys-apps/man-db/man-db-2.10.2-r1.ebuild | 8 +++++--- sys-apps/man-db/man-db-9999.ebuild | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/sys-apps/man-db/man-db-2.10.2-r1.ebuild b/sys-apps/man-db/man-db-2.10.2-r1.ebuild index 215bd2c7051d..6ffa81f959e6 100644 --- a/sys-apps/man-db/man-db-2.10.2-r1.ebuild +++ b/sys-apps/man-db/man-db-2.10.2-r1.ebuild @@ -131,9 +131,11 @@ src_configure() { econf "${myeconfargs[@]}" # Disable color output from groff so that the manpager can add it. bug #184604 - sed -i \ - -e '/^#DEFINE.*\<[nt]roff\>/{s:^#::;s:$: -c:}' \ - src/man_db.conf || die + if use manpager; then + sed -i \ + -e '/^#DEFINE.*\<[nt]roff\>/{s:^#::;s:$: -c:}' \ + src/man_db.conf || die + fi cat > 15man-db <<-EOF || die SANDBOX_PREDICT="/var/cache/man" diff --git a/sys-apps/man-db/man-db-9999.ebuild b/sys-apps/man-db/man-db-9999.ebuild index ef05ecd8416f..cd2743aa2ef1 100644 --- a/sys-apps/man-db/man-db-9999.ebuild +++ b/sys-apps/man-db/man-db-9999.ebuild @@ -131,9 +131,11 @@ src_configure() { econf "${myeconfargs[@]}" # Disable color output from groff so that the manpager can add it. bug #184604 - sed -i \ - -e '/^#DEFINE.*\<[nt]roff\>/{s:^#::;s:$: -c:}' \ - src/man_db.conf || die + if use manpager; then + sed -i \ + -e '/^#DEFINE.*\<[nt]roff\>/{s:^#::;s:$: -c:}' \ + src/man_db.conf || die + fi cat > 15man-db <<-EOF || die SANDBOX_PREDICT="/var/cache/man"