summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2021-03-07 13:42:44 +0000
committertaca <taca@pkgsrc.org>2021-03-07 13:42:44 +0000
commit6271221a062054e309c690c5d2b3cdd4aa7f458c (patch)
tree47ecdd38b73a35e0dc6c18672a60b4a005fdc238 /converters
parentc4c5da7bab6af5588be475464b64182802d845e8 (diff)
downloadpkgsrc-6271221a062054e309c690c5d2b3cdd4aa7f458c.tar.gz
converters/php-mbstring: add php80 support
Add php80 support.
Diffstat (limited to 'converters')
-rw-r--r--converters/php-mbstring/Makefile6
-rw-r--r--converters/php-mbstring/PLIST4
2 files changed, 7 insertions, 3 deletions
diff --git a/converters/php-mbstring/Makefile b/converters/php-mbstring/Makefile
index 48a878772ec..856093c7155 100644
--- a/converters/php-mbstring/Makefile
+++ b/converters/php-mbstring/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2019/12/15 17:59:42 taca Exp $
+# $NetBSD: Makefile,v 1.7 2021/03/07 13:42:44 taca Exp $
MODNAME= mbstring
CATEGORIES+= converters
@@ -12,6 +12,7 @@ INSTALLATION_DIRS+= ${PREFIX}/include/php/ext/mbstring/libmbfl/mbfl
INSTALLATION_DIRS+= ${PREFIX}/include/php/ext/mbstring/libmbfl/nls
PLIST_SRC+= ${.CURDIR}/PLIST
+PLIST_VARS+= php7
CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
@@ -24,4 +25,7 @@ post-install:
.if ${PKG_PHP_VERSION} >= 74
.include "../../textproc/oniguruma/buildlink3.mk"
.endif
+.if ${PKG_PHP_MAJOR_VERS} < 8
+PLIST.php7= yes
+.endif
.include "../../mk/bsd.pkg.mk"
diff --git a/converters/php-mbstring/PLIST b/converters/php-mbstring/PLIST
index 679d3578193..ec03d4ef9b5 100644
--- a/converters/php-mbstring/PLIST
+++ b/converters/php-mbstring/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2016/07/07 13:59:00 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/03/07 13:42:44 taca Exp $
include/php/ext/mbstring/libmbfl/filters/cp932_table.h
include/php/ext/mbstring/libmbfl/filters/emoji2uni.h
include/php/ext/mbstring/libmbfl/filters/html_entities.h
@@ -102,7 +102,7 @@ include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h
include/php/ext/mbstring/libmbfl/mbfl/mbfilter_8bit.h
include/php/ext/mbstring/libmbfl/mbfl/mbfilter_pass.h
include/php/ext/mbstring/libmbfl/mbfl/mbfilter_wchar.h
-include/php/ext/mbstring/libmbfl/mbfl/mbfl_allocators.h
+${PLIST.php7}include/php/ext/mbstring/libmbfl/mbfl/mbfl_allocators.h
include/php/ext/mbstring/libmbfl/mbfl/mbfl_consts.h
include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h
include/php/ext/mbstring/libmbfl/mbfl/mbfl_defs.h