pkgsrc-Changes archive

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

CVS commit: pkgsrc/converters/php-mbstring



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Mar  7 13:42:45 UTC 2021

Modified Files:
        pkgsrc/converters/php-mbstring: Makefile PLIST

Log Message:
converters/php-mbstring: add php80 support

Add php80 support.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/converters/php-mbstring/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/converters/php-mbstring/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/converters/php-mbstring/Makefile
diff -u pkgsrc/converters/php-mbstring/Makefile:1.6 pkgsrc/converters/php-mbstring/Makefile:1.7
--- pkgsrc/converters/php-mbstring/Makefile:1.6 Sun Dec 15 17:59:42 2019
+++ pkgsrc/converters/php-mbstring/Makefile     Sun Mar  7 13:42:44 2021
@@ -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/ph
 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"

Index: pkgsrc/converters/php-mbstring/PLIST
diff -u pkgsrc/converters/php-mbstring/PLIST:1.1 pkgsrc/converters/php-mbstring/PLIST:1.2
--- pkgsrc/converters/php-mbstring/PLIST:1.1    Thu Jul  7 13:59:00 2016
+++ pkgsrc/converters/php-mbstring/PLIST        Sun Mar  7 13:42:44 2021
@@ -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/mb
 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