aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Plack-Middleware-Expires/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-Plack-Middleware-Expires/Makefile')
-rw-r--r--www/p5-Plack-Middleware-Expires/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/p5-Plack-Middleware-Expires/Makefile b/www/p5-Plack-Middleware-Expires/Makefile
index 846188887ecf..13406eb4766e 100644
--- a/www/p5-Plack-Middleware-Expires/Makefile
+++ b/www/p5-Plack-Middleware-Expires/Makefile
@@ -22,4 +22,10 @@ PERL_CONFIGURE= yes
MAN3= Plack::Middleware::Expires.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
+.endif
+
+.include <bsd.port.post.mk>