pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/ap-php



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Sat Dec 27 18:58:25 UTC 2025

Modified Files:
        pkgsrc/www/ap-php: Makefile

Log Message:
ap-php: fix builds on NetBSD with GCC >= 14


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/www/ap-php/Makefile

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

Modified files:

Index: pkgsrc/www/ap-php/Makefile
diff -u pkgsrc/www/ap-php/Makefile:1.62 pkgsrc/www/ap-php/Makefile:1.63
--- pkgsrc/www/ap-php/Makefile:1.62     Wed Jun  4 11:10:40 2025
+++ pkgsrc/www/ap-php/Makefile  Sat Dec 27 18:58:25 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2025/06/04 11:10:40 jperkin Exp $
+# $NetBSD: Makefile,v 1.63 2025/12/27 18:58:25 gutteridge Exp $
 
 PKGNAME=               ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}-${PHP_VERSION}
 PKGREVISION=           13
@@ -30,6 +30,12 @@ CONFIGURE_ENV+=              EXTRA_LDFLAGS=${EXPORT_
 
 INSTALLATION_DIRS=     lib/httpd
 
+.include "../../mk/compiler.mk"
+
+.if ${PKGSRC_COMPILER:Mgcc}
+CFLAGS+=       -Wno-error=incompatible-pointer-types -Wno-error=int-conversion
+.endif
+
 pre-configure:
        cd ${WRKSRC} && ${PKGSRC_SETENV} ${CONFIGURE_ENV} autoconf -f
 



Home | Main Index | Thread Index | Old Index