perl pod2man bug - Mailing list pgsql-hackers

From Bruce Momjian
Subject perl pod2man bug
Date
Msg-id 200206022136.g52Larh06685@candle.pha.pa.us
Whole thread Raw
List pgsql-hackers
I have found current CVS doesn't work with Perl 5.005 patch 3.  It tries
to do:

    #$ pod2man Pg.pm Pg.3
        /usr/bin/pod2man: Need one and only one podpage argument
        usage: /usr/bin/pod2man [options] podpage
        Options are:
        --section=manext      (default "1")
        --release=relpatch    (default "perl 5.005, patch 03")
        --center=string       (default "User Contributed Perl Documentation")
        --date=string         (default "2/Jun/2002")
        --fixed=font          (default "CW")
        --official            (default NOT)
        --lax                 (default NOT)

I have applied the following patch which seems to do the same thing and
works with my perl here.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
Index: src/interfaces/perl5/GNUmakefile
===================================================================
RCS file: /cvsroot/pgsql/src/interfaces/perl5/GNUmakefile,v
retrieving revision 1.7
diff -c -r1.7 GNUmakefile
*** src/interfaces/perl5/GNUmakefile    28 May 2002 16:57:53 -0000    1.7
--- src/interfaces/perl5/GNUmakefile    2 Jun 2002 21:20:58 -0000
***************
*** 53,59 ****
      touch $@

  Pg.$(perl_man3ext): Pg.pm
!     $(POD2MAN) $< $@


  # During install, we must guard against the likelihood that we don't
--- 53,59 ----
      touch $@

  Pg.$(perl_man3ext): Pg.pm
!     $(POD2MAN) --section=$(perl_man3ext) $< > Pg.$(perl_man3ext)


  # During install, we must guard against the likelihood that we don't

pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: make_ctags problem
Next
From: Bruce Momjian
Date:
Subject: Re: [BUGS] Bug #655: win32 client and bytea column