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(+)

diff --git a/meta-oe/recipes-devtools/php/php_8.5.0.bb 
b/meta-oe/recipes-devtools/php/php_8.5.0.bb
index 412ffd9f06..6db7ee7c82 100644
--- a/meta-oe/recipes-devtools/php/php_8.5.0.bb
+++ b/meta-oe/recipes-devtools/php/php_8.5.0.bb
@@ -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} \
 "

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122391): 
https://lists.openembedded.org/g/openembedded-devel/message/122391
Mute This Topic: https://lists.openembedded.org/mt/116686080/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to