summaryrefslogtreecommitdiff
path: root/textproc/php-json
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2021-03-07 13:45:08 +0000
committertaca <taca@pkgsrc.org>2021-03-07 13:45:08 +0000
commit3dcb43b760bbb16b91d5975ef283fbfe8881fd91 (patch)
tree4cbebd4e921c0e425b90387756a6a3641844906b /textproc/php-json
parent86e9bf19b801b4c3fd7ef87f4b27acc5a79a9e5d (diff)
downloadpkgsrc-3dcb43b760bbb16b91d5975ef283fbfe8881fd91.tar.gz
textproc/php-json: update for php80
* Restrict this package prior to php80 since php80 contains in it. * Add c and c++ to USE_LANGUAGES. * Add yacc to USE_TOOLS.
Diffstat (limited to 'textproc/php-json')
-rw-r--r--textproc/php-json/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/textproc/php-json/Makefile b/textproc/php-json/Makefile
index 9e34a0b99fa..0d781e22ce2 100644
--- a/textproc/php-json/Makefile
+++ b/textproc/php-json/Makefile
@@ -1,13 +1,18 @@
-# $NetBSD: Makefile,v 1.8 2020/03/22 21:21:32 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2021/03/07 13:45:08 taca Exp $
MODNAME= json
CATEGORIES+= textproc
COMMENT= PHP extension for JSON serialization support
-BUILD_DEPENDS+= re2c>=0.13.0.4:../../devel/re2c
+USE_LANGUAGES+= c c++
+USE_TOOLS+= yacc
+
+BUILD_DEPENDS+= re2c>=0.13.0.4:../../devel/re2c
CONFIGURE_ARGS+= --enable-${MODNAME}=shared
+PHP_VERSIONS_ACCEPTED= 56 73 74
+
.include "../../lang/php/ext.mk"
INSTALLATION_DIRS+= include/php/ext/json