From a56fcd97bd4a82b33eab3dffafe9f72d355d546d Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Mon, 24 Sep 2001 15:20:25 +0000 Subject: Update to 1.1. While at it, make it work on -stable. --- textproc/p5-Text-FixedLength-Extra/Makefile | 16 ++++++++-------- textproc/p5-Text-FixedLength-Extra/distinfo | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'textproc/p5-Text-FixedLength-Extra') diff --git a/textproc/p5-Text-FixedLength-Extra/Makefile b/textproc/p5-Text-FixedLength-Extra/Makefile index d2c85152c074..2ad802132fec 100644 --- a/textproc/p5-Text-FixedLength-Extra/Makefile +++ b/textproc/p5-Text-FixedLength-Extra/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Text-FixedLength-Extra -PORTVERSION= 1.0 +PORTVERSION= 1.1 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Text @@ -17,15 +17,15 @@ MAINTAINER= tobez@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Text/FixedLength.pm:${PORTSDIR}/textproc/p5-Text-FixedLength RUN_DEPENDS= ${BUILD_DEPENDS} -.include - -.if ${OSVERSION} < 500007 -BROKEN="Requires perl that has 'our' keyword" -.endif - PERL_CONFIGURE= yes MAN3= Text::FixedLength::Extra.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include +post-patch: + ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \ + -e '$$_="" if /require 5/;' \ + -e '$$_="" if /use warnings/;' \ + ${WRKSRC}/Extra.pm + +.include diff --git a/textproc/p5-Text-FixedLength-Extra/distinfo b/textproc/p5-Text-FixedLength-Extra/distinfo index 5b864fbea8e7..4f8aeb1b51d1 100644 --- a/textproc/p5-Text-FixedLength-Extra/distinfo +++ b/textproc/p5-Text-FixedLength-Extra/distinfo @@ -1 +1 @@ -MD5 (Text-FixedLength-Extra-1.0.tar.gz) = 0c78e050db6196bbefffbd09f71ecfac +MD5 (Text-FixedLength-Extra-1.1.tar.gz) = 78fe3226b71c9d5b713a1eeb19428272 -- cgit v1.2.3