On 2010/10/19 10:33, Andreas Kahari wrote:
> Also, there is no "tmac.andoc", so when building e.g.
> "mail/mutt/snapshot,sidebar,compressed", I get this at the end:
that's a different problem, it comes from mbox.5 which has this
at the start:
'\" t
this seems to fix this instance, but I don't know if it's correct.
Index: OpenBSD/PackingElement.pm
===================================================================
RCS file: /cvs/src/usr.sbin/pkg_add/OpenBSD/PackingElement.pm,v
retrieving revision 1.184
diff -u -p -r1.184 PackingElement.pm
--- OpenBSD/PackingElement.pm 19 Oct 2010 07:29:41 -0000 1.184
+++ OpenBSD/PackingElement.pm 19 Oct 2010 11:05:53 -0000
@@ -520,7 +520,7 @@ sub format
my @extra = ();
# extra preprocessors as described in man.
if ($line =~ m/^\'\\\"\s+(.*)$/o) {
- for my $letter (split $1) {
+ for my $letter (split '', $1) {
if ($letter =~ m/[ept]/o) {
push(@extra, "-$letter");
} elsif ($letter eq 'r') {