Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Aug 2019 03:50:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 239686] sysutils/lsof  Broken man page (includes fix)
Message-ID:  <bug-239686-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239686

            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@FreeBSD.org
          Reporter: jamie@catflap.org
          Assignee: ler@FreeBSD.org
             Flags: maintainer-feedback?(ler@FreeBSD.org)

Created attachment 206316
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D206316&action=
=3Dedit
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, b=
ut
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@thompson# sed 's/\\$/\\DUMMY/' Lsof.8 | ma=
ndoc
-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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239686-7788>