Bug 237668

Summary: lang/erlang-man sets an incorrect MANPATH
Product: Ports & Packages Reporter: Bertrand Petit <bsdpr>
Component: Individual Port(s)Assignee: freebsd-erlang (Nobody) <erlang>
Status: Closed FIXED    
Severity: Affects Only Me CC: olgeni
Priority: --- Flags: bugzilla: maintainer-feedback? (erlang)
Version: Latest   
Hardware: Any   
OS: Any   

Description Bertrand Petit 2019-04-30 08:36:34 UTC
The lang/erlang-man port installs in /usr/local/etc/man.d the erlang.conf which contains "MANPATH /usr/local/lib/erlang/man". The path in this file is incorrect, it should had been "MANPATH /usr/local/lib/erlang".

The manifest shows that either the erlang.conf file is incorrect, or that the man categories directories aren't installed in the correct location as shown by the pkg manifest:

$ pkg info -l erlang-man-19.3 | head
erlang-man-19.3:
        /usr/local/etc/man.d/erlang.conf
        /usr/local/lib/erlang/man1/cdv.1
        /usr/local/lib/erlang/man1/ct_run.1
        /usr/local/lib/erlang/man1/diameterc.1
        /usr/local/lib/erlang/man1/epmd.1
        /usr/local/lib/erlang/man1/erl.1
        /usr/local/lib/erlang/man1/erl_call.1
        /usr/local/lib/erlang/man1/erlc.1
        /usr/local/lib/erlang/man1/erlsrv.1
Comment 1 Jimmy Olgeni freebsd_committer freebsd_triage 2021-04-08 09:44:15 UTC
Fixed back in 514ee195d6e2b590cc1e29b1e7cc1076e995c760.