[Bug 239686] sysutils/lsof Broken man page (includes fix)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 7 03:50:28 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239686

            Bug ID: 239686
           Summary: sysutils/lsof  Broken man page (includes fix)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ler at FreeBSD.org
          Reporter: jamie at catflap.org
          Assignee: ler at FreeBSD.org
             Flags: maintainer-feedback?(ler at FreeBSD.org)

Created attachment 206316
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206316&action=edit
patch-Makefile - fix the man page before install

"man lsof" returns no such man page exists.

The man page does exist, but it uses the ".so" include directive. This
directive tries to include additional files, which exist in the stagedir, but
not on install.

This patch uses 'mandoc' to pre-process the ".so" directive at build time. It
also includes a SED kludge to fix a weird error.

The result of this patch is:

* 04:48 (303) "lsof-4.93.2" root at thompson# sed 's/\\$/\\DUMMY/' Lsof.8 | mandoc
-man -T man | sed 's/DUMMY$//' |  diff - Lsof.8
1,2c1
< .ds VN 4.93.2
<
---
> .so ./version
78,82c77
<       Apple Darwin 9 and Mac OS X 10.[567]
<       FreeBSD 8.[234], 9.0 and 1[012].0 for AMD64-based systems
<       Linux 2.1.72 and above for x86-based systems
<       Solaris 9, 10 and 11
<
---
> .so ./00DIALECTS
4533d4527
<

The patch is attached:

cheers, Jamie

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list