1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/www/pecl-yaf/Makefile
Po-Chuan Hsieh fff57317fa
www/pecl-yaf: Fix build with PHP 8.3
PHP 8.3 removes ZEND_HOT in [1]. This fix basically reverts [2].

--- src/php_couchbase.lo ---
In file included from /wrkdirs/usr/ports/databases/pecl-couchbase/work-php83/couchbase-4.1.4/src/php_couchbase.cxx:17:
/wrkdirs/usr/ports/databases/pecl-couchbase/work-php83/couchbase-4.1.4/src/wrapper/common.hxx:34:1: error: unknown type name 'zend_bool'
zend_bool log_php_log_err{ 1 };
^
/wrkdirs/usr/ports/databases/pecl-couchbase/work-php83/couchbase-4.1.4/src/wrapper/common.hxx:35:1: error: unknown type name 'zend_bool'
zend_bool log_stderr{ 0 };
^
/wrkdirs/usr/ports/databases/pecl-couchbase/work-php83/couchbase-4.1.4/src/wrapper/common.hxx:39:1: error: unknown type name 'zend_bool'
zend_bool initialized{ 0 };
^
3 errors generated.
*** [src/php_couchbase.lo] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/databases/pecl-couchbase/work-php83/couchbase-4.1.4

Reference:	90b0e77921 [1]
		08894ab3ed [2]
2023-06-30 21:17:25 +08:00

20 lines
367 B
Makefile

PORTNAME= yaf
PORTVERSION= 3.3.5
CATEGORIES= www
MAINTAINER= sunpoet@freeBSD.org
COMMENT= MVC framework written as a C PHP extension
WWW= https://pecl.php.net/package/yaf \
https://github.com/laruence/yaf
LICENSE= PHP301
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpcre.so:devel/pcre
USES= localbase php:pecl
CFLAGS+= -DZEND_HOT=
.include <bsd.port.mk>