diff --git a/archivers/php-lz4/Makefile b/archivers/php-lz4/Makefile index 37e133c8a8cb..d185e0e45b79 100644 --- a/archivers/php-lz4/Makefile +++ b/archivers/php-lz4/Makefile @@ -1,32 +1,31 @@ PORTNAME= lz4 -DISTVERSION= 0.6.0 -PORTREVISION= 1 +DISTVERSION= 0.7.0 CATEGORIES= archivers PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} MAINTAINER= pkaipila@gmail.com COMMENT= LZ4 extension for PHP WWW= https://github.com/kjdev/php-ext-lz4 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= liblz4.so:archivers/liblz4 USES= php:ext USE_GITHUB= yes GH_ACCOUNT= kjdev GH_PROJECT= php-ext-lz4 CONFIGURE_ARGS= --with-lz4-includedir=${LOCALBASE} OPTIONS_DEFINE= APCU OPTIONS_DEFAULT= APCU APCU_DESC= APCu cache compression support for objects APCU_BUILD_DEPENDS= ${LOCALBASE}/include/php/ext/apcu/apc_serializer.h:devel/pecl-APCu@${PHP_FLAVOR} APCU_CONFIGURE_ENABLE= apcu .include diff --git a/archivers/php-lz4/distinfo b/archivers/php-lz4/distinfo index c22c979d0e26..215fa20e4986 100644 --- a/archivers/php-lz4/distinfo +++ b/archivers/php-lz4/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1763558643 -SHA256 (kjdev-php-ext-lz4-0.6.0_GH0.tar.gz) = 49cfcb981be2fe584712ac9f85ee143db5f44da738f635fcd2c9f24c929bc662 -SIZE (kjdev-php-ext-lz4-0.6.0_GH0.tar.gz) = 72652 +TIMESTAMP = 1785213989 +SHA256 (kjdev-php-ext-lz4-0.7.0_GH0.tar.gz) = b8f2c894be94f62f083482a1a7692f118a231e0ef49520c5005a7f644961fdd2 +SIZE (kjdev-php-ext-lz4-0.7.0_GH0.tar.gz) = 73354 diff --git a/archivers/php-lz4/files/patch-config.m4 b/archivers/php-lz4/files/patch-config.m4 deleted file mode 100644 index 0eea252eb5c6..000000000000 --- a/archivers/php-lz4/files/patch-config.m4 +++ /dev/null @@ -1,38 +0,0 @@ ---- config.m4.orig 2025-11-07 02:17:19 UTC -+++ config.m4 -@@ -27,6 +27,9 @@ PHP_ARG_WITH(lz4-includedir, for lz4 header, - PHP_ARG_WITH(lz4-includedir, for lz4 header, - [ --with-lz4-includedir=DIR lz4 header files], no, no) - -+PHP_ARG_ENABLE(apcu, whether to enable APCu support, -+[ --enable-apcu Enable APCu support], auto, no) -+ - if test "$PHP_LZ4" != "no"; then - - AC_MSG_CHECKING([searching for liblz4]) -@@ -65,13 +68,18 @@ if test "$PHP_LZ4" != "no"; then - PHP_ADD_INCLUDE([$ext_srcdir/lz4/lib]) - fi - -- AC_MSG_CHECKING([for APCu includes]) -- if test -f "$phpincludedir/ext/apcu/apc_serializer.h"; then -- apc_inc_path="$phpincludedir" -- AC_MSG_RESULT([APCu in $apc_inc_path]) -- AC_DEFINE(HAVE_APCU_SUPPORT,1,[Whether to enable APCu support]) -- else -- AC_MSG_RESULT([not found]) -+ if test "$PHP_APCU" != "no"; then -+ AC_MSG_CHECKING([for APCu includes]) -+ if test -f "$phpincludedir/ext/apcu/apc_serializer.h"; then -+ apc_inc_path="$phpincludedir" -+ AC_MSG_RESULT([APCu in $apc_inc_path]) -+ AC_DEFINE(HAVE_APCU_SUPPORT, 1, [Whether to enable APCu support]) -+ else -+ if test "$PHP_APCU" != "auto"; then -+ AC_MSG_ERROR([apc_serializer.h header not found]) -+ fi -+ AC_MSG_RESULT([not found]) -+ fi - fi - fi -