When using perl's POD (plain old documentation) in a script, using perldoc on the script causes perl to complain about an older version of groff (<1.20.1). For example: > perldoc admiss.pl You have an old groff. Update to version 1.20.1 for good Unicode support. If you don't upgrade, wide characters may come out oddly. at /usr/local/lib/perl5/5.16.0/Pod/Perldoc.pm line 1346. You have an old groff. Update to version 1.20.1 for good Unicode support. If you don't upgrade, wide characters may come out oddly. at /usr/local/lib/perl5/5.16.0/Pod/Perldoc.pm line 1346. ADMISS(1) User Contributed Perl Documentation ADMISS(1) <snip> The output of groff (system groff, not groff from ports) shows that it is version GNU groff version 1.19.2. For what its worth, there is no mention of this issue in the ports UPDATING file in relation to entry 20120630. How-To-Repeat: Install perl 5.16. cat << EOF > test.pl #!/usr/bin/perl use strict; use warnings; print "This is a test\n"; __END__ =head1 NAME test.pl - A simple test case EOF perldoc test.pl
Responsible Changed From-To: freebsd-ports-bugs->skv Over to maintainer (via the GNATS Auto Assign Tool)
Sorry, my mistake. I set my email address incorrectly. It's supposed to be driador@gmail.com, not .net.
Responsible Changed From-To: skv->freebsd-ports-bugs skv's ports bit has been taken in for safekeeping
Responsible Changed From-To: freebsd-ports-bugs->perl Over to maintainer.
Hi, I've been looking into that, and the first problem I see is that textproc/groff needs Perl to build :-) -- Mathieu Arnold
State Changed From-To: open->closed Fixed in r337193. GNAT: Enter the reason for changing this PR's state here.
State Changed From-To: closed->open Ok, no, not fixed, groff depends on perl, so, perl can't depend on it.
As of r384837, perldoc will try to use mandoc before groff. It'll work out of the box on 9.3 and 10.1, on 8.4, it's almost as easy, you will only need to install textproc/mdocml.