Subject: pkg/35854: wrong sendmail_path in lang/php5
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dlg@dsrw.org>
List: pkgsrc-bugs
Date: 02/27/2007 01:25:01
>Number:         35854
>Category:       pkg
>Synopsis:       wrong sendmail_path in lang/php5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 27 01:25:00 +0000 2007
>Originator:     david l goodrich
>Release:        NetBSD 3.1
>Organization:
DSRW
>Environment:
NetBSD build-31.dsrw.org 3.1 NetBSD 3.1 (XEN3_DOMU-pf) #0: Sat Oct 28 19:51:45 CDT 2006  root@yggdrasil-1.tproa.net:/local/src/usr/src/sys/arch/i386/compile/obj/XEN3_DOMU-pf i386
>Description:
dlg@build-31:/usr/pkgsrc/lang/php5/work/php-5.2.1$  grep sendmail config.status
s%@PROG_SENDMAIL@%/usr/pkg/sbin/sendmail%g
dlg@build-31:/usr/pkgsrc/lang/php5/work/php-5.2.1$

./configure sets the wrong sendmail_path, which results in the mail() call failing.
>How-To-Repeat:
Build and install lang/php5.
Use the recommended php.ini.
Attempt to use the mail() function in PHP.
>Fix: