summaryrefslogtreecommitdiff
path: root/databases/p5-SQLite-Work/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-SQLite-Work/Makefile')
-rw-r--r--databases/p5-SQLite-Work/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/p5-SQLite-Work/Makefile b/databases/p5-SQLite-Work/Makefile
index 647439e327c4..199a78e50baf 100644
--- a/databases/p5-SQLite-Work/Makefile
+++ b/databases/p5-SQLite-Work/Makefile
@@ -35,4 +35,10 @@ MAN1= sqlw_mail.1 \
post-patch:
${CHMOD} u+w ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500807
+RUN_DEPENDS+= p5-CGI.pm>=3.10:${PORTSDIR}/www/p5-CGI.pm
+.endif
+
+.include <bsd.port.post.mk>