Bug 262679 - sysutils/dtrace-toolkit Man/Readme describes nonexistent MANPATH /opt/DTT/Man
Summary: sysutils/dtrace-toolkit Man/Readme describes nonexistent MANPATH /opt/DTT/Man
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Mateusz Piotrowski
URL: https://github.com/freebsd/freebsd-po...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-20 11:00 UTC by Graham Perrin
Modified: 2022-07-08 19:26 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (0mp)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2022-03-20 11:00:49 UTC
/usr/local/share/dtrace-toolkit/Man/Readme

Extract: 

>    2. If the DTraceToolkit has been installed, and that dir to your MANPATH,
> 
>         MANPATH=$MANPATH:/opt/DTT/Man

– that's not the path used by the port to FreeBSD. 

As far as I can tell, the proper path is: 

/usr/local/share/dtrace-toolkit/Man
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2022-03-21 00:00:49 UTC
(In reply to Graham Perrin from comment #0)

Also, re: <https://old.reddit.com/r/freebsd/comments/tiit7y/-/i1g5s56/> it seems necessary to create a symbolic link: 

% file /usr/local/share/dtrace-toolkit/Man/man1
/usr/local/share/dtrace-toolkit/Man/man1: symbolic link to man1m
% cat /usr/local/etc/man.d/dtrace-toolkit.conf
MANPATH /usr/local/share/dtrace-toolkit/Man
% man execsnoop
%
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-07-08 19:26:30 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8b5689d656e72527b8c2da002b165959fd52b5b6

commit 8b5689d656e72527b8c2da002b165959fd52b5b6
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-07-08 19:19:40 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-07-08 19:24:56 +0000

    sysutils/dtrace-toolkit: Fix manual pages installation

    - Install a man.conf for the toolkit's manual pages.
    - Explain in pkg-message
    - Some additional cosmetic changes

    PR:             262679
    Reported by:    grahamperrin@

 sysutils/dtrace-toolkit/Makefile                   |  8 ++++++--
 sysutils/dtrace-toolkit/files/pkg-message.in (new) | 23 ++++++++++++++++++++++
 sysutils/dtrace-toolkit/pkg-message (gone)         |  8 --------
 sysutils/dtrace-toolkit/pkg-plist                  |  1 +
 4 files changed, 30 insertions(+), 10 deletions(-)
Comment 3 Mateusz Piotrowski freebsd_committer freebsd_triage 2022-07-08 19:26:47 UTC
Thanks!