aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-ResourcePool
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-ResourcePool')
-rw-r--r--devel/p5-ResourcePool/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/p5-ResourcePool/Makefile b/devel/p5-ResourcePool/Makefile
index 86258353db78..f0b43ab98084 100644
--- a/devel/p5-ResourcePool/Makefile
+++ b/devel/p5-ResourcePool/Makefile
@@ -35,4 +35,11 @@ MAN3= ResourcePool.3 \
post-install:
@${CAT} pkg-message
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+.endif
+
+.include <bsd.port.post.mk>