fbc6b0aee7
3.2.7 (2022-01-12) * Update test expectations for php 8.2.0-dev. Add `#[AllowDynamicProperties]` Attribute to some tests to avoid notices. * In php 8.1+, make igbinary_unserialize check to see if an equivalent interned string already exists when unserializing object property names, array keys, and class names and use that instead of creating a brand new string. (This deliberately doesn't create a new interned string if one doesn't already exist.) (Before this change, igbinary would deduplicate strings when serializing, but would not check if strings were interned by PHP itself when unserializing) * Avoid debug build assertion failure for `HT_ASSERT_RC1` the same way as PHP's unserialize - this is a case where ostensibly there are no other references to the array being unserialized.
27 lines
600 B
Makefile
27 lines
600 B
Makefile
# $NetBSD: Makefile,v 1.6 2022/02/20 13:31:43 taca Exp $
|
|
|
|
MODNAME= igbinary
|
|
PECL_VERSION= 3.2.7
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/igbinary/igbinary
|
|
COMMENT= Binary serialization for PHP
|
|
LICENSE= modified-bsd
|
|
|
|
PHP_VERSIONS_INCOMPATIBLE= 56
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gsed
|
|
CONFIGURE_ARGS+= --enable-${MODNAME}
|
|
|
|
PLIST_SRC+= PLIST
|
|
|
|
INSTALLATION_DIRS+= include/php/ext/igbinary
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/igbinary.h \
|
|
${DESTDIR}${PREFIX}/include/php/ext/igbinary
|
|
|
|
.include "../../lang/php/ext.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|