mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
Update to 1.1. While at it, make it work on -stable.
This commit is contained in:
parent
63388d3a06
commit
a56fcd97bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48157
2 changed files with 9 additions and 9 deletions
|
@ -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>
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (Text-FixedLength-Extra-1.0.tar.gz) = 0c78e050db6196bbefffbd09f71ecfac
|
||||
MD5 (Text-FixedLength-Extra-1.1.tar.gz) = 78fe3226b71c9d5b713a1eeb19428272
|
||||
|
|
Loading…
Add table
Reference in a new issue