summaryrefslogtreecommitdiff
path: root/sys-apps/man-db/man-db-2.10.2-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-04 20:05:57 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-04 20:05:57 +0100
commita87d0d6b8bfa400637c56d3194b22fca5cbd6f9e (patch)
tree761432665eb6bfa18b129f0bc7b23162bcfd98fc /sys-apps/man-db/man-db-2.10.2-r1.ebuild
parent9ec9cbf23e468492eab5e3a31836c699e8c5c534 (diff)
gentoo auto-resync : 04:08:2022 - 20:05:57
Diffstat (limited to 'sys-apps/man-db/man-db-2.10.2-r1.ebuild')
-rw-r--r--sys-apps/man-db/man-db-2.10.2-r1.ebuild8
1 files changed, 5 insertions, 3 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"