diff options
author | tobez <tobez@FreeBSD.org> | 2001-09-24 23:20:25 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2001-09-24 23:20:25 +0800 |
commit | 4b9d3603a691d0b8baef16926ee0e4b970a4a3b0 (patch) | |
tree | d2191cb289b4f5710f199033eec07718056fd92e /textproc/p5-Text-FixedLength-Extra | |
parent | 9ee88111283f42867ffe0f6bed88a82aadfecf32 (diff) | |
download | freebsd-ports-gnome-4b9d3603a691d0b8baef16926ee0e4b970a4a3b0.tar.gz freebsd-ports-gnome-4b9d3603a691d0b8baef16926ee0e4b970a4a3b0.tar.zst freebsd-ports-gnome-4b9d3603a691d0b8baef16926ee0e4b970a4a3b0.zip |
Update to 1.1. While at it, make it work on -stable.
Diffstat (limited to 'textproc/p5-Text-FixedLength-Extra')
-rw-r--r-- | textproc/p5-Text-FixedLength-Extra/Makefile | 16 | ||||
-rw-r--r-- | textproc/p5-Text-FixedLength-Extra/distinfo | 2 |
2 files changed, 9 insertions, 9 deletions
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 <bsd.port.pre.mk> - -.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 <bsd.port.post.mk> +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 <bsd.port.mk> 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 |