aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-Mechanize-Pluggable
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-WWW-Mechanize-Pluggable')
-rw-r--r--www/p5-WWW-Mechanize-Pluggable/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/p5-WWW-Mechanize-Pluggable/Makefile b/www/p5-WWW-Mechanize-Pluggable/Makefile
index 924c1356900a..829e671fbcd6 100644
--- a/www/p5-WWW-Mechanize-Pluggable/Makefile
+++ b/www/p5-WWW-Mechanize-Pluggable/Makefile
@@ -33,4 +33,10 @@ MAN3= WWW::Mechanize::Pluggable.3 \
WWW::Mechanize::Plugin::Cookbook.3 \
WWW::Mechanize::Plugin::HelloWorld.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500809
+RUN_DEPENDS+= p5-Module-Pluggable>=0:${PORTSDIR}/devel/p5-Module-Pluggable
+.endif
+
+.include <bsd.port.post.mk>