summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2022-12-11 14:16:16 +0000
committertaca <taca@pkgsrc.org>2022-12-11 14:16:16 +0000
commit3dbc112dd651935a5e529ae202362c8beba10867 (patch)
treed8c8594c74842c0963fc9279872d5e00aad9f770
parentd5be457716e089baf5ac53cb0f50b3ab0dae1ab4 (diff)
downloadpkgsrc-3dbc112dd651935a5e529ae202362c8beba10867.tar.gz
converters/php-mbstring: adjust to support php82
Adjust PLIST to support php82.
-rw-r--r--converters/php-mbstring/Makefile11
-rw-r--r--converters/php-mbstring/PLIST4
2 files changed, 9 insertions, 6 deletions
diff --git a/converters/php-mbstring/Makefile b/converters/php-mbstring/Makefile
index 2c513458cd7..54528d3f1de 100644
--- a/converters/php-mbstring/Makefile
+++ b/converters/php-mbstring/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2021/12/29 06:11:50 taca Exp $
+# $NetBSD: Makefile,v 1.10 2022/12/11 14:16:16 taca Exp $
MODNAME= mbstring
CATEGORIES+= converters
@@ -12,7 +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 php81 sbf
+PLIST_VARS+= jisxf php7 php81 sbf
CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
@@ -26,10 +26,13 @@ post-install:
.if ${PKG_PHP_VERSION} <=80
PLIST.sbf= yes
+. if ${PKG_PHP_VERSION} <80
+PLIST.php7= yes
+. endif
.else
PLIST.php81= yes
.endif
-.if ${PKG_PHP_MAJOR_VERS} < 8
-PLIST.php7= yes
+.if ${PKG_PHP_VERSION} < 82
+PLIST.jisxf= yes
.endif
.include "../../mk/bsd.pkg.mk"
diff --git a/converters/php-mbstring/PLIST b/converters/php-mbstring/PLIST
index 8f7e422fb18..82503989861 100644
--- a/converters/php-mbstring/PLIST
+++ b/converters/php-mbstring/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2021/11/27 07:27:04 taca Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/12/11 14:16:16 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
@@ -55,7 +55,7 @@ include/php/ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.h
include/php/ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.h
include/php/ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.h
${PLIST.sbf}include/php/ext/mbstring/libmbfl/filters/mbfilter_sjis_open.h
-include/php/ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.h
+${PLIST.jisxf}include/php/ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.h
include/php/ext/mbstring/libmbfl/filters/mbfilter_ucs2.h
include/php/ext/mbstring/libmbfl/filters/mbfilter_ucs4.h
include/php/ext/mbstring/libmbfl/filters/mbfilter_uhc.h