pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/php-opcache



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat Feb 22 15:13:28 UTC 2025

Modified Files:
        pkgsrc/devel/php-opcache: Makefile

Log Message:
devel/php-opcache: Add support for PHP 8.4

opcache in PHP 8.4 heavily depends on gmake.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/php-opcache/Makefile

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

Modified files:

Index: pkgsrc/devel/php-opcache/Makefile
diff -u pkgsrc/devel/php-opcache/Makefile:1.7 pkgsrc/devel/php-opcache/Makefile:1.8
--- pkgsrc/devel/php-opcache/Makefile:1.7       Sat Feb  8 03:15:21 2025
+++ pkgsrc/devel/php-opcache/Makefile   Sat Feb 22 15:13:28 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2025/02/08 03:15:21 taca Exp $
+# $NetBSD: Makefile,v 1.8 2025/02/22 15:13:28 taca Exp $
 
 MODNAME=               opcache
 PKGREVISION=           1
@@ -9,5 +9,11 @@ PHP_ZEND_EXTENSION=    yes
 CONFIGURE_ARGS+=       --enable-${MODNAME}=opcache
 USE_PHP_EXT_PATCHES=   Yes
 
+# PHP 8.4's opcache depends on gmake.
+.include "../../lang/php/phpversion.mk"
+.if ${PHP_VER} >= 84
+USE_TOOLS+=    gmake
+.endif
+
 .include "../../lang/php/ext.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index