pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/php-mbstring converters/php-mbstring: adjus...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e0ce860803db
branches:  trunk
changeset: 389843:e0ce860803db
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Dec 11 14:16:16 2022 +0000

description:
converters/php-mbstring: adjust to support php82

Adjust PLIST to support php82.

diffstat:

 converters/php-mbstring/Makefile |  11 +++++++----
 converters/php-mbstring/PLIST    |   4 ++--
 2 files changed, 9 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r 44eb47dd8485 -r e0ce860803db converters/php-mbstring/Makefile
--- a/converters/php-mbstring/Makefile  Sun Dec 11 14:13:24 2022 +0000
+++ b/converters/php-mbstring/Makefile  Sun Dec 11 14:16:16 2022 +0000
@@ -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/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 @@
 
 .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 -r 44eb47dd8485 -r e0ce860803db converters/php-mbstring/PLIST
--- a/converters/php-mbstring/PLIST     Sun Dec 11 14:13:24 2022 +0000
+++ b/converters/php-mbstring/PLIST     Sun Dec 11 14:16:16 2022 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index