SOURCES: php-use-prog_sendmail.patch (NEW) - if $PROG_SENDMAIL is set, use ...

glen glen at pld-linux.org
Wed Oct 15 12:56:10 CEST 2008


Author: glen                         Date: Wed Oct 15 10:56:10 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- if $PROG_SENDMAIL is set, use it, don't even attempt to find it from $PATH

---- Files affected:
SOURCES:
   php-use-prog_sendmail.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/php-use-prog_sendmail.patch
diff -u /dev/null SOURCES/php-use-prog_sendmail.patch:1.1
--- /dev/null	Wed Oct 15 12:56:11 2008
+++ SOURCES/php-use-prog_sendmail.patch	Wed Oct 15 12:56:05 2008
@@ -0,0 +1,15 @@
+--- php-5.2.6/acinclude.m4~	2008-10-15 13:44:25.000000000 +0300
++++ php-5.2.6/acinclude.m4	2008-10-15 13:55:05.359850285 +0300
+@@ -2037,8 +2037,10 @@
+ dnl Search for the sendmail binary
+ dnl
+ AC_DEFUN([PHP_PROG_SENDMAIL], [
+-  PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib
+-  AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:$PHP_ALT_PATH)
++  if test -z "$PROG_SENDMAIL"; then
++    PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib
++    AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:$PHP_ALT_PATH)
++  fi
+   PHP_SUBST(PROG_SENDMAIL)
+ ])
+ 
================================================================


More information about the pld-cvs-commit mailing list