pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/php-fpm



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat Jun 15 08:26:25 UTC 2024

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

Log Message:
www/php-fpm: Run autoconf under CONFIGURE_ENV.

The same change as jperkin@ did.  (Thank you!)

Without this, depending on the user's LANG, the configure stage can break due
to the --disable-pdo option being parsed after the checks for individual PDO
modules, which then fail.  Something in the maze of m4 includes is dependent on
the locale for correct ordering when generating configure.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/www/php-fpm/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/php-fpm/Makefile
diff -u pkgsrc/www/php-fpm/Makefile:1.41 pkgsrc/www/php-fpm/Makefile:1.42
--- pkgsrc/www/php-fpm/Makefile:1.41    Fri Jun  7 23:11:41 2024
+++ pkgsrc/www/php-fpm/Makefile Sat Jun 15 08:26:25 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2024/06/07 23:11:41 taca Exp $
+# $NetBSD: Makefile,v 1.42 2024/06/15 08:26:25 taca Exp $
 
 PKGNAME=       ${PHP_PKG_PREFIX}-fpm-${PHP_VERSION}
 PKGREVISION=   11
@@ -52,7 +52,7 @@ MESSAGE_SUBST+=               CGIDIR=${CGIDIR}
 MESSAGE_SUBST+=                VARBASE=${VARBASE}
 
 pre-configure:
-       cd ${WRKSRC} && autoconf -f
+       cd ${WRKSRC} && ${PKGSRC_SETENV} ${CONFIGURE_ENV} autoconf -f
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/sapi/fpm/php-fpm ${DESTDIR}${PREFIX}/sbin/php-fpm



Home | Main Index | Thread Index | Old Index