aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-BSON-XS/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-BSON-XS/Makefile')
-rw-r--r--databases/p5-BSON-XS/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/databases/p5-BSON-XS/Makefile b/databases/p5-BSON-XS/Makefile
index c8067781714b..528740edd897 100644
--- a/databases/p5-BSON-XS/Makefile
+++ b/databases/p5-BSON-XS/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= BSON-XS
-PORTVERSION= 0.4.4
+PORTVERSION= 0.4.5
DISTVERSIONPREFIX= v
CATEGORIES= databases perl5
MASTER_SITES= CPAN
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= p5-Config-AutoConf>=0.220:devel/p5-Config-AutoConf \
p5-Path-Tiny>=0.052:devel/p5-Path-Tiny \
${RUN_DEPENDS}
-RUN_DEPENDS= p5-BSON>=1.8.0:databases/p5-BSON
+RUN_DEPENDS= p5-BSON>=1.8.1:databases/p5-BSON
TEST_DEPENDS= p5-JSON-MaybeXS>=0:converters/p5-JSON-MaybeXS \
p5-Path-Tiny>=0.054:devel/p5-Path-Tiny \
p5-Test-Deep>=0:devel/p5-Test-Deep \
@@ -29,7 +29,13 @@ USE_PERL5= configure
CFLAGS+= -DBSON_COMPILATION
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502708
+TEST_DEPENDS+= p5-JSON-PP>=2.97001:converters/p5-JSON-PP
+.endif
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/BSON/XS/XS.so
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>