fix build on 4.x for net/p5-Net-RawSock
- fix build for perl 5.005_03 - add missing directories to plist Informed maintainer. PR: ports/51868 Submitted by: Erwin Lansing <erwin@lansing.dk>
This commit is contained in:
parent
7b311f69a7
commit
1475be5a9c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80493
2 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,11 @@ MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|||
MAN3= Net::RawSock.3
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
||||
post-patch:
|
||||
${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
|
||||
-e '$$_="" if /use warnings/;' \
|
||||
${WRKSRC}/RawSock.pm
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
|
|
|
@ -3,6 +3,8 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/RawSock/.packlist
|
|||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/RawSock/RawSock.so
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/RawSock/RawSock.bs
|
||||
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/RawSock/ 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Net 2>/dev/null || true
|
||||
%%PORTDOCS%%share/doc/p5-Net-RawSock/README
|
||||
%%PORTDOCS%%share/doc/p5-Net-RawSock/demo.pl
|
||||
%%PORTDOCS%%@dirrm share/doc/p5-Net-RawSock
|
||||
|
|
Loading…
Reference in a new issue