diff options
Diffstat (limited to 'databases/p5-MongoDB/Makefile')
-rw-r--r-- | databases/p5-MongoDB/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/databases/p5-MongoDB/Makefile b/databases/p5-MongoDB/Makefile index 86b213d77406..c9ca2e352895 100644 --- a/databases/p5-MongoDB/Makefile +++ b/databases/p5-MongoDB/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= MongoDB -PORTVERSION= 1.2.1 +PORTVERSION= 1.2.2 DISTVERSIONPREFIX= v CATEGORIES= databases perl5 MASTER_SITES= CPAN @@ -41,4 +41,11 @@ USE_PERL5= configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/MongoDB/MongoDB.so -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 502200 +BUILD_DEPENDS+= p5-JSON-PP>=2.27300:${PORTSDIR}/converters/p5-JSON-PP +RUN_DEPENDS+= p5-JSON-PP>=2.27300:${PORTSDIR}/converters/p5-JSON-PP +.endif + +.include <bsd.port.post.mk> |