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:   jperkin
Date:           Sat Jun 15 08:01:18 UTC 2024

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

Log Message:
ap-php: Run autoconf under CONFIGURE_ENV.

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.57 -r1.58 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.57 pkgsrc/www/ap-php/Makefile:1.58
--- pkgsrc/www/ap-php/Makefile:1.57     Fri Jun  7 23:11:41 2024
+++ pkgsrc/www/ap-php/Makefile  Sat Jun 15 08:01:18 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2024/06/07 23:11:41 taca Exp $
+# $NetBSD: Makefile,v 1.58 2024/06/15 08:01:18 jperkin Exp $
 
 PKGNAME=               ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}-${PHP_VERSION}
 PKGREVISION=           11
@@ -22,7 +22,7 @@ CONFIGURE_ENV+=               EXTRA_LDFLAGS=${EXPORT_
 INSTALLATION_DIRS=     lib/httpd
 
 pre-configure:
-       cd ${WRKSRC} && autoconf -f
+       cd ${WRKSRC} && ${PKGSRC_SETENV} ${CONFIGURE_ENV} autoconf -f
 
 do-install:
        if [ -f ${WRKSRC}/.libs/libphp${PKG_PHP_MAJOR_VERS}.so ]; then  \



Home | Main Index | Thread Index | Old Index