aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Catalyst-Plugin-Authorization-Roles
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-Catalyst-Plugin-Authorization-Roles')
-rw-r--r--www/p5-Catalyst-Plugin-Authorization-Roles/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/p5-Catalyst-Plugin-Authorization-Roles/Makefile b/www/p5-Catalyst-Plugin-Authorization-Roles/Makefile
index 98b9f3958d8f..a4256e91411e 100644
--- a/www/p5-Catalyst-Plugin-Authorization-Roles/Makefile
+++ b/www/p5-Catalyst-Plugin-Authorization-Roles/Makefile
@@ -18,8 +18,6 @@ COMMENT= Role based authorization for Catalyst
BUILD_DEPENDS= p5-Catalyst-Runtime>=5.7000:${PORTSDIR}/www/p5-Catalyst-Runtime \
p5-Catalyst-Plugin-Authentication>=0.03:${PORTSDIR}/www/p5-Catalyst-Plugin-Authentication \
p5-Set-Object>=1.14:${PORTSDIR}/devel/p5-Set-Object \
- p5-Test-MockObject>=1.01:${PORTSDIR}/devel/p5-Test-MockObject \
- p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
p5-UNIVERSAL-isa>=0.05:${PORTSDIR}/devel/p5-UNIVERSAL-isa
RUN_DEPENDS= ${BUILD_DEPENDS}
@@ -27,6 +25,9 @@ PERL_MODBUILD= yes
MAN3= Catalyst::Plugin::Authorization::Roles.3
+post-extract:
+ @${PERL} -i.bak -ne 'print unless m,Test::,' ${WRKSRC}/Build.PL
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500801
IGNORE= requires at least Perl 5.8.1. Install lang/perl5.8, and try again