diff options
Diffstat (limited to 'databases/p5-DBD-Pg/Makefile')
-rw-r--r-- | databases/p5-DBD-Pg/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/p5-DBD-Pg/Makefile b/databases/p5-DBD-Pg/Makefile index 63e2257ad1e4..2a973a33df6e 100644 --- a/databases/p5-DBD-Pg/Makefile +++ b/databases/p5-DBD-Pg/Makefile @@ -36,4 +36,11 @@ post-install: @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +BUILD_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version +RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version +.endif + +.include <bsd.port.post.mk> |