diff options
Diffstat (limited to 'sys-apps/man-db/man-db-9999.ebuild')
-rw-r--r-- | sys-apps/man-db/man-db-9999.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
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" |