diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2005-12-16 15:47:45 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2005-12-16 15:47:45 +0000 |
commit | 319cdbe0fdc0d2dc4d57cd033390073accf85d19 (patch) | |
tree | 35015ad59211ca017bc5398f71d1b84daac1abc6 /textproc | |
parent | - Update to 1.1.3 (diff) |
Fix runtime-compilation of Pod::Man on perl < 5.6.
Submitted by: kuriyama
Notes
Notes:
svn path=/head/; revision=151330
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-podlators/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/textproc/p5-podlators/Makefile b/textproc/p5-podlators/Makefile index d1c0cefe8ac3..624c014a4fdd 100644 --- a/textproc/p5-podlators/Makefile +++ b/textproc/p5-podlators/Makefile @@ -7,6 +7,7 @@ PORTNAME= podlators PORTVERSION= 2.00 +PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Pod @@ -39,6 +40,8 @@ PLIST_SUB= PL_FILES="" post-patch: .if ${PERL_LEVEL} >= 500600 @${REINPLACE_CMD} -Ee '/(pod2man|pod2text)/d' ${WRKSRC}/Makefile.PL +.else + ${PERL} -pi -e 's/;/();/ if $$.==303' ${WRKSRC}/lib/Pod/Man.pm .endif .include <bsd.port.post.mk> |