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:   jperkin
Date:           Wed Nov 12 12:24:27 UTC 2025

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

Log Message:
php-opcache: Forcibly pull in libgcc.a on SunOS.

Fixes issue with unresolved __cpu_features2 due to the __builtin_cpu_* stuff
not pulling it in correctly for some reason.

Add TEST_TARGET while here, which is mostly clean on illumos.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 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.8 pkgsrc/devel/php-opcache/Makefile:1.9
--- pkgsrc/devel/php-opcache/Makefile:1.8       Sat Feb 22 15:13:28 2025
+++ pkgsrc/devel/php-opcache/Makefile   Wed Nov 12 12:24:27 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2025/02/22 15:13:28 taca Exp $
+# $NetBSD: Makefile,v 1.9 2025/11/12 12:24:27 jperkin Exp $
 
 MODNAME=               opcache
 PKGREVISION=           1
@@ -9,11 +9,16 @@ PHP_ZEND_EXTENSION=   yes
 CONFIGURE_ARGS+=       --enable-${MODNAME}=opcache
 USE_PHP_EXT_PATCHES=   Yes
 
+# Ensure libgcc's __builtin_cpu_* stuff is pulled in.
+LDFLAGS.SunOS+=        -lgcc
+
 # PHP 8.4's opcache depends on gmake.
 .include "../../lang/php/phpversion.mk"
 .if ${PHP_VER} >= 84
 USE_TOOLS+=    gmake
 .endif
 
+TEST_TARGET=   test
+
 .include "../../lang/php/ext.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index