aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-FixedLength-Extra
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2001-09-24 15:20:25 +0000
committerAnton Berezin <tobez@FreeBSD.org>2001-09-24 15:20:25 +0000
commita56fcd97bd4a82b33eab3dffafe9f72d355d546d (patch)
tree31d1da1e785aaf99541705b6aafa3da9171553c2 /textproc/p5-Text-FixedLength-Extra
parent63388d3a06664432d43115ff23690934bf2cfdeb (diff)
downloadports-a56fcd97bd4a82b33eab3dffafe9f72d355d546d.tar.gz
ports-a56fcd97bd4a82b33eab3dffafe9f72d355d546d.zip
Notes
Diffstat (limited to 'textproc/p5-Text-FixedLength-Extra')
-rw-r--r--textproc/p5-Text-FixedLength-Extra/Makefile16
-rw-r--r--textproc/p5-Text-FixedLength-Extra/distinfo2
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