mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
converters/pecl-igbinary: Simplify 0e192b1290
This commit is contained in:
@@ -12,15 +12,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= php:pecl
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${PHP_VER} >= 85
|
||||
@${REINPLACE_CMD} -e 's|ext/standard/php_smart_string.h|Zend/zend_smart_string.h|' \
|
||||
${WRKSRC}/src/php7/php_igbinary.h
|
||||
.endif
|
||||
# Install the real header files
|
||||
@${CP} ${WRKSRC}/src/php7/igbinary.h ${WRKSRC}/igbinary.h
|
||||
@${CP} ${WRKSRC}/src/php7/php_igbinary.h ${WRKSRC}/php_igbinary.h
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- src/php7/php_igbinary.h.orig 2024-08-10 16:55:30 UTC
|
||||
+++ src/php7/php_igbinary.h
|
||||
@@ -32,7 +32,7 @@ ZEND_END_MODULE_GLOBALS(igbinary)
|
||||
#include "TSRM.h"
|
||||
#endif
|
||||
|
||||
-#include "ext/standard/php_smart_string.h"
|
||||
+#include "Zend/zend_smart_string.h"
|
||||
|
||||
/** Module init function. */
|
||||
PHP_MINIT_FUNCTION(igbinary);
|
||||
Reference in New Issue
Block a user