As matthieu@ pointed out on tech@, man.conf(5) must be switched.
Now that groff doesn't even exist any more in base, it's high time.

Regarding base and new style ports (those now installing mandoc- or
groff-preformatted manuals), it makes no difference.

Regarding Xenocara and old style ports (those installing unformatted
manuals), it will not cope 100%, but certainly better than a program
that does not even exist any longer.

Admittedly, there are some problems in Xenocara:

  schwa...@rhea $ cd /usr/X11R6/man/    
  schwa...@rhea $ mandoc -Tlint -Wfatal man*/* 2> /tmp/mandoc.probs
  schwa...@rhea $ wc /tmp/mandoc.probs                                   
     897    4513   46585 /tmp/mandoc.probs

  schwa...@rhea $ grep -c 'no document body' /tmp/mandoc.probs
     823

    These "pages" consist of a single line containing an .so macro.
    They should probably be replaced by MLINKs.

  schwa...@rhea $ grep -c 'man tbl parser:.*bad syntax' /tmp/mandoc.probs 
     69

    In these cases, mandoc bugs still prevent rendering of some tables.
    So, in the whole of the source-installed Xenocara manuals,
    69 tables got lost.

Besides, the following pages trigger fatal mandoc errors:

  XTestQueryExtension(3)
  Xcomposite(3)
  XpSelectInput(3)
  glint(4)
  rendition(4)

But i fear delaying the switch will not help Xenocara in any way.
  
OK?


Index: man.conf
===================================================================
RCS file: /cvs/src/etc/man.conf,v
retrieving revision 1.15
diff -u -p -r1.15 man.conf
--- man.conf    9 Apr 2010 19:07:30 -0000       1.15
+++ man.conf    18 Oct 2010 21:18:30 -0000
@@ -16,17 +16,15 @@ _subdir             cat1 man1 cat8 man8 cat6 man6 c
 _suffix                .0
 _build         .0.Z            /usr/bin/zcat %s
 _build         .0.gz           /usr/bin/gzcat %s
-_build         .[1-9n]         /usr/bin/nroff -Tascii -man %s
-_build         .[1-9n].Z       /usr/bin/zcat %s | /usr/bin/nroff -Tascii -man
-_build         .[1-9n].gz      /usr/bin/gzcat %s | /usr/bin/nroff -Tascii -man
-_build         .[1-9][a-z]     /usr/bin/nroff -Tascii -man %s
-_build         .[1-9][a-z].Z   /usr/bin/zcat %s | /usr/bin/nroff -Tascii -man
-_build         .[1-9][a-z].gz  /usr/bin/gzcat %s | /usr/bin/nroff -Tascii -man
-_build         .tbl            /usr/bin/tbl %s | /usr/bin/nroff -Tascii -man
-_build         .tbl.Z          /usr/bin/zcat %s | /usr/bin/tbl | 
/usr/bin/nroff -Tascii -man
-_build         .tbl.gz         /usr/bin/gzcat %s | /usr/bin/tbl | 
/usr/bin/nroff -Tascii -man
-_build         .me             /usr/bin/nroff -Tascii -me %s 2>/dev/null | cat 
-s
-_build         .ms             /usr/bin/nroff -Tascii -ms %s 2>/dev/null | cat 
-s
+_build         .[1-9n]         /usr/bin/mandoc %s
+_build         .[1-9n].Z       /usr/bin/zcat %s | /usr/bin/mandoc
+_build         .[1-9n].gz      /usr/bin/gzcat %s | /usr/bin/mandoc
+_build         .[1-9][a-z]     /usr/bin/mandoc %s
+_build         .[1-9][a-z].Z   /usr/bin/zcat %s | /usr/bin/mandoc
+_build         .[1-9][a-z].gz  /usr/bin/gzcat %s | /usr/bin/mandoc
+_build         .tbl            /usr/bin/mandoc %s
+_build         .tbl.Z          /usr/bin/zcat %s | /usr/bin/mandoc
+_build         .tbl.gz         /usr/bin/gzcat %s | /usr/bin/mandoc
 
 # Sections and their directories.
 # All paths ending in '/' are the equivalent of entries specifying that

Reply via email to