Bug 112804 - groff(1) command should be called to explicitly use "ps" as output
Summary: groff(1) command should be called to explicitly use "ps" as output
Status: Closed Overcome By Events
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-20 08:30 UTC by Ighighi
Modified: 2019-10-02 18:38 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (378 bytes, patch)
2007-05-20 08:30 UTC, Ighighi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ighighi 2007-05-20 08:30:03 UTC
The following line in /usr/share/mk/doc.images.mk should contain "-Tps" to prevent groff(1) from using the GROFF_TYPESETTER environment variable
PIC2PS?=       ${GROFF} -p -S -Wall -mtty-char -man

When set to something other than "ps" the build fails, so adding "-Tps" would
allow the user building the documentation have GROFF_TYPESETTER in ~/.profile
without interfering with the build.  I usually have this variable set to "latin1"
or "ascii" so "man -t whatever" makes groff(1) use any output device I want.
IMO, It doesn't hurt to add a "-Tps" to the line above as it would make the 
intended usage explicit.

Fix: Attached patch.

Patch attached with submission follows:
How-To-Repeat: export GROFF_TYPESETTER=latin1 
cd /usr/doc
make FORMATS="html html-single"
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2012-03-05 00:24:18 UTC
Responsible Changed
From-To: freebsd-doc->eadler

I'll take it.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2012-03-22 03:50:54 UTC
Responsible Changed
From-To: eadler->doceng

over to maintainers
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:48 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 4 Baptiste Daroussin freebsd_committer freebsd_triage 2019-10-02 18:38:22 UTC
groff is gone from the base system