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: add p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a574c02bcc4b
branches:  trunk
changeset: 448335:a574c02bcc4b
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Mar 07 13:42:44 2021 +0000

description:
converters/php-mbstring: add php80 support

Add php80 support.

diffstat:

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

diffs (43 lines):

diff -r 71cb154b67c3 -r a574c02bcc4b converters/php-mbstring/Makefile
--- a/converters/php-mbstring/Makefile  Sun Mar 07 13:42:10 2021 +0000
+++ b/converters/php-mbstring/Makefile  Sun Mar 07 13:42:44 2021 +0000
@@ -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/nls
 
 PLIST_SRC+=            ${.CURDIR}/PLIST
+PLIST_VARS+=           php7
 
 CONFIGURE_ARGS+=       --enable-${MODNAME}=shared,${BUILDLINK_DIR}
 
@@ -24,4 +25,7 @@
 .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 -r 71cb154b67c3 -r a574c02bcc4b converters/php-mbstring/PLIST
--- a/converters/php-mbstring/PLIST     Sun Mar 07 13:42:10 2021 +0000
+++ b/converters/php-mbstring/PLIST     Sun Mar 07 13:42:44 2021 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index