Should be /usr/share/man
biew installs its man page /twice/ on my system: $ qlist -e dev-util/biew | grep man /usr/man/man1/biew.1.bz2 /usr/share/man/man1/biew.1.bz2 They are equal: $ cmp /usr/man/man1/biew.1.bz2 /usr/share/man/man1/biew.1.bz2 && echo equal || echo unequal equal And not hardlinked: $ /usr/bin/env LC_ALL=POSIX bash -c 'stat /usr/man/man1/biew.1.bz2 /usr/share/man/man1/biew.1.bz2 | grep -E "(File|Size|Inode):" | sed -e "s,^.*\(Inode:\),\1,"' File: `/usr/man/man1/biew.1.bz2' Size: 1617 Blocks: 8 IO Block: 4096 regular file Inode: 1828202 Links: 1 File: `/usr/share/man/man1/biew.1.bz2' Size: 1617 Blocks: 8 IO Block: 4096 regular file Inode: 604736 Links: 1 This is a freshly-emerged dev-util/biew-5.7.0.
Created attachment 190125 [details] revised ebuild to solve wrong man page install Indeed, the man pages for biew-5.7.0 were installed twice. Once by the make install and once by the doman in the ebuild. I removed the doman in the ebuild and fixed the makefile (see patch) to install the man files in the correct dir.
Created attachment 190127 [details, diff] makefile patch to set the correct man page install dir patches the already included makefile patch
(In reply to comment #3) > Created an attachment (id=190127) [edit] > makefile patch to set the correct man page install dir > > patches the already included makefile patch Proposed patches works for me but: + $(INSTALL) -D -c -m 644 doc/biew.1 $(DESTDIR)$(PREFIX)/share/man/man1/biew.1 should be: + $(INSTALL) -D -c -m 644 doc/biew.1 $(DESTDIR)$(DATADIR)/man/man1/biew.1
Commited in portage, thanks for the patch