summaryrefslogtreecommitdiff
path: root/www/p5-CSS-DOM/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-CSS-DOM/Makefile')
-rw-r--r--www/p5-CSS-DOM/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/p5-CSS-DOM/Makefile b/www/p5-CSS-DOM/Makefile
index 9c16e9ce27e6..5ac6652d8244 100644
--- a/www/p5-CSS-DOM/Makefile
+++ b/www/p5-CSS-DOM/Makefile
@@ -43,4 +43,10 @@ MAN3= CSS::DOM.3 \
CSS::DOM::Value::List.3 \
CSS::DOM::Value::Primitive.3 \
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500807
+RUN_DEPENDS+= p5-Encode>=2.1:${PORTSDIR}/converters/p5-Encode
+.endif
+
+.include <bsd.port.post.mk>