mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
Fix port's build on -stable.
Submitted by: bento logs
This commit is contained in:
parent
d52a7a070a
commit
845b265aba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48768
@ -19,4 +19,11 @@ PERL_CONFIGURE= yes
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
MAN3= NetAddr::IP.3
|
||||
|
||||
post-patch:
|
||||
${PERL} -pi -e 's/\r//;' \
|
||||
-e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
|
||||
-e '$$_="" if /require 5/;' \
|
||||
-e '$$_="" if /use warnings/;' \
|
||||
${WRKSRC}/IP.pm
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -19,4 +19,11 @@ PERL_CONFIGURE= yes
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
MAN3= NetAddr::IP.3
|
||||
|
||||
post-patch:
|
||||
${PERL} -pi -e 's/\r//;' \
|
||||
-e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
|
||||
-e '$$_="" if /require 5/;' \
|
||||
-e '$$_="" if /use warnings/;' \
|
||||
${WRKSRC}/IP.pm
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user