diff options
Diffstat (limited to 'net/p5-POE-Component-ControlPort/Makefile')
-rw-r--r-- | net/p5-POE-Component-ControlPort/Makefile | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/net/p5-POE-Component-ControlPort/Makefile b/net/p5-POE-Component-ControlPort/Makefile index 49af4117b5a2..7fb9bdb84fb4 100644 --- a/net/p5-POE-Component-ControlPort/Makefile +++ b/net/p5-POE-Component-ControlPort/Makefile @@ -27,27 +27,7 @@ MAN3= POE::Component::ControlPort.3 \ POE::Component::ControlPort::Command.3 \ POE::Component::ControlPort::DefaultCommands.3 -.include <bsd.port.pre.mk> - post-extract: @${PERL} -pi -e 's/my \$$ret =.*/my \$$ret = 0;/' ${WRKSRC}/Makefile.PL -.if ${PERL_LEVEL} < 500600 -RUN_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader \ - ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools - -post-patch: - @${PERL} -pi -e 's/^our (\W\w+);/use vars q($$1);/o;' \ - -e 's/^our\s+(\W\w+)(?!;)/use vars q($$1); $$1/o;' \ - -e 'undef $$_ if /^\s*(no|use) warnings/o;' \ - ${WRKSRC}/VERSION \ - ${WRKSRC}/t/*.t \ - ${WRKSRC}/lib/POE/Component/ControlPort.pm \ - ${WRKSRC}/lib/POE/Component/ControlPort/DefaultCommands.pm \ - ${WRKSRC}/lib/POE/Component/ControlPort/Command.pm - -post-configure: - ${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}' ${WRKSRC}/Makefile -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |