]> TLD Linux GIT Repositories - packages/php.git/blob - php-use-prog_sendmail.patch
- updated to 7.4.11
[packages/php.git] / php-use-prog_sendmail.patch
1 --- php-7.4.7/build/php.m4.orig 2020-06-26 16:43:50.784451000 +0200
2 +++ php-7.4.7/build/php.m4      2020-06-26 16:45:13.716451000 +0200
3 @@ -1732,8 +1732,10 @@
4  dnl Search for the sendmail binary.
5  dnl
6  AC_DEFUN([PHP_PROG_SENDMAIL], [
7 -  PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib
8 -  AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/sbin/sendmail, $PATH:$PHP_ALT_PATH)
9 +  if test -z "$PROG_SENDMAIL"; then
10 +    PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib
11 +    AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/sbin/sendmail, $PATH:$PHP_ALT_PATH)
12 +  fi
13    PHP_SUBST(PROG_SENDMAIL)
14  ])
15