aboutsummaryrefslogtreecommitdiffstats
path: root/converters/p5-JSON-MaybeXS/Makefile
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-11-07 00:47:44 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-11-07 00:47:44 +0800
commit886a7d09842053b293c6f1da11898bf4866ff85b (patch)
tree0a56e322f813c477d8863356256c76a2b14919b9 /converters/p5-JSON-MaybeXS/Makefile
parente3fa0c5d217a83b9b09f0e2141a63b93b20fb8e9 (diff)
downloadfreebsd-ports-gnome-886a7d09842053b293c6f1da11898bf4866ff85b.tar.gz
freebsd-ports-gnome-886a7d09842053b293c6f1da11898bf4866ff85b.tar.zst
freebsd-ports-gnome-886a7d09842053b293c6f1da11898bf4866ff85b.zip
- Update to 1.003008
- Add NO_ARCH Changes: http://search.cpan.org/dist/JSON-MaybeXS/Changes
Diffstat (limited to 'converters/p5-JSON-MaybeXS/Makefile')
-rw-r--r--converters/p5-JSON-MaybeXS/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/converters/p5-JSON-MaybeXS/Makefile b/converters/p5-JSON-MaybeXS/Makefile
index 59e542c2e1a5..f11a4bb587ec 100644
--- a/converters/p5-JSON-MaybeXS/Makefile
+++ b/converters/p5-JSON-MaybeXS/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= JSON-MaybeXS
-PORTVERSION= 1.003005
+PORTVERSION= 1.003008
CATEGORIES= converters perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -18,7 +18,15 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-JSON-XS>=0:converters/p5-JSON-XS \
p5-Test-Without-Module>=0.17:devel/p5-Test-Without-Module
+NO_ARCH= yes
USE_PERL5= configure
USES= perl5
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502200
+BUILD_DEPENDS+= p5-JSON-PP>=2.27300:converters/p5-JSON-PP
+RUN_DEPENDS+= p5-JSON-PP>=2.27300:converters/p5-JSON-PP
+.endif
+
+.include <bsd.port.post.mk>