aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Config-Std/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Config-Std/Makefile')
-rw-r--r--devel/p5-Config-Std/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/p5-Config-Std/Makefile b/devel/p5-Config-Std/Makefile
index da86e4d1dcb2..605979a3231c 100644
--- a/devel/p5-Config-Std/Makefile
+++ b/devel/p5-Config-Std/Makefile
@@ -22,4 +22,10 @@ PERL_CONFIGURE= YES
MAN3= Config::Std.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500900
+RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
+.endif
+
+.include <bsd.port.post.mk>