php: Provide cached value for sendmail program
PATCH 1/1 php: Provide cached value for sendmail program
Left to its own volition, configure goes on a hunt in usual paths in /usr which means it pokes at build system for sendmail existence. This could also be under different paths e.g. /usr/lib or /usr/sbin depending upong build distro
The paths where sendmail will be installed on target is usual paths e.g. /bin or /usr/bin on OE, which are added to program search paths anyway.
This fixes reproducibility issues, since this string gets its way into the PHP binaries.
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-devtools/php/php_8.5.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/php/php_8.5.0.bb +1 -0
@@ -72,6 +72,7 @@ EXTRA_OECONF = "--enable-mbstring \ --with-bz2=${STAGING_DIR_TARGET}${exec_prefix} \ --with-config-file-path=${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION} \ ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'ac_cv_c_bigendian_php=no', 'ac_cv_c_bigendian_php=yes', d)} \ + ac_cv_path_PROG_SENDMAIL=sendmail \ ${COMMON_EXTRA_OECONF} \ "