aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-Facebook-API/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-WWW-Facebook-API/Makefile')
-rw-r--r--www/p5-WWW-Facebook-API/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/p5-WWW-Facebook-API/Makefile b/www/p5-WWW-Facebook-API/Makefile
index 858788eada15..f460fbebb6ad 100644
--- a/www/p5-WWW-Facebook-API/Makefile
+++ b/www/p5-WWW-Facebook-API/Makefile
@@ -53,4 +53,10 @@ MAN3= WWW::Facebook::API.3 \
WWW::Facebook::API::Users.3 \
WWW::Facebook::API::Video.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
+.endif
+
+.include <bsd.port.post.mk>