- Add BUILD_DEPENDS
- Cleanup .orig files when WITH_IPV6 is set - Fix PLIST: these directories are also used by p5-Net-Server-* ports Feature safe: yes
This commit is contained in:
parent
9fe6d1d36d
commit
255cd0258c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293933
@ -14,7 +14,8 @@ PKGNAMEPREFIX= p5-
|
||||
MAINTAINER= perl@FreeBSD.org
|
||||
COMMENT= A configurable base class for writing internet servers in Perl
|
||||
|
||||
RUN_DEPENDS= ${SITE_PERL}/IO/Multiplex.pm:${PORTSDIR}/devel/p5-IO-Multiplex
|
||||
BUILD_DEPENDS= p5-IO-Multiplex>=1.01:${PORTSDIR}/devel/p5-IO-Multiplex
|
||||
RUN_DEPENDS= p5-IO-Multiplex>=1.01:${PORTSDIR}/devel/p5-IO-Multiplex
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
@ -41,8 +42,14 @@ MAN3= Net::Server.3 \
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(WITH_IPV6)
|
||||
BUILD_DEPENDS+= p5-Socket6>=0.23:${PORTSDIR}/net/p5-Socket6
|
||||
RUN_DEPENDS+= p5-Socket6>=0.23:${PORTSDIR}/net/p5-Socket6
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-ipv6-support
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.if defined(WITH_IPV6)
|
||||
@cd ${WRKSRC}/ && ${FIND} . -name '*.orig' -delete
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -17,8 +17,8 @@
|
||||
%%SITE_PERL%%/Net/Server/SIG.pm
|
||||
%%SITE_PERL%%/Net/Server/Single.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Server/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Server
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Server
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
|
||||
@dirrm %%SITE_PERL%%/Net/Server/Proto
|
||||
@dirrm %%SITE_PERL%%/Net/Server
|
||||
@dirrmtry %%SITE_PERL%%/Net/Server/Proto
|
||||
@dirrmtry %%SITE_PERL%%/Net/Server
|
||||
@dirrmtry %%SITE_PERL%%/Net
|
||||
|
Loading…
Reference in New Issue
Block a user