aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-10-13 03:58:43 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-10-13 03:58:43 +0800
commitde8a48ec7994d78b3645c642528984b56d9d49b2 (patch)
treef259f9797b56934d9ba41c6477df994ee8aba4b4
parentef5f9d6fef698ec6758a89ac69e419c933cd7ea6 (diff)
downloadfreebsd-ports-gnome-de8a48ec7994d78b3645c642528984b56d9d49b2.tar.gz
freebsd-ports-gnome-de8a48ec7994d78b3645c642528984b56d9d49b2.tar.zst
freebsd-ports-gnome-de8a48ec7994d78b3645c642528984b56d9d49b2.zip
Update to 0.4.5
Changes: https://metacpan.org/changes/distribution/BSON-XS
-rw-r--r--databases/p5-BSON-XS/Makefile12
-rw-r--r--databases/p5-BSON-XS/distinfo6
2 files changed, 12 insertions, 6 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>
diff --git a/databases/p5-BSON-XS/distinfo b/databases/p5-BSON-XS/distinfo
index 8aba4b63e971..c111fd271cfe 100644
--- a/databases/p5-BSON-XS/distinfo
+++ b/databases/p5-BSON-XS/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1536861870
-SHA256 (BSON-XS-v0.4.4.tar.gz) = 23ec96a28662193a9a615e6f1d50882bcd995324e46393422d8413bccc365f5d
-SIZE (BSON-XS-v0.4.4.tar.gz) = 232607
+TIMESTAMP = 1539368214
+SHA256 (BSON-XS-v0.4.5.tar.gz) = 7de69911c38dee97dcdda01f4a08107093a8263a8ee90bef1597952dcec40405
+SIZE (BSON-XS-v0.4.5.tar.gz) = 232720