Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 1999 12:50:59 -0700 (PDT)
From:      Arjan.deVet@adv.iae.nl
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/11239: mutt 0.95.4 fails to detect sendmail location
Message-ID:  <19990420195059.BCE6714EEE@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         11239
>Category:       ports
>Synopsis:       mutt 0.95.4 fails to detect sendmail location
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 20 12:50:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Arjan de Vet
>Release:        3.1-stable
>Organization:
>Environment:
FreeBSD adv.iae.nl 3.1-STABLE FreeBSD 3.1-STABLE #4: Mon Apr 19 08:12:40 CEST 1999     root@adv.iae.nl:/usr/src/sys/compile/ADV  i386

>Description:
The mutt port seems not to be able to find sendmail due to
a syntax error in a test(1) command in the configure script.

I fixed this by using some configure code from mutt 0.95
which finds sendmail correctly.

>How-To-Repeat:
Run make and you will see:

[...]
checking for POSIXized ISC... no
checking for sendmail... test: syntax error
no
checking for gpg... no
[...]

>Fix:
Updated patch-04 file for the mutt port:

--- configure.orig      Sun Feb 28 09:08:02 1999
+++ configure   Tue Apr 20 21:35:41 1999
@@ -1156,7 +1156,7 @@
   ;;
   *)
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
-  for ac_dir in $PATH:/usr/sbin:/usr/lib$ac_dummy; do
+  for ac_dir in `echo $PATH | sed "s/:/ /"` /usr/sbin /usr/lib$ac_dummy; do
     test -z "$ac_dir" && ac_dir=.
     if test -f $ac_dir/$ac_word; then
       ac_cv_path_SENDMAIL="$ac_dir/$ac_word"
@@ -1725,6 +1725,9 @@
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char $ac_func();
+#ifdef __FreeBSD__
+#define bkgdset initscr
+#endif
 
 int main() {
 


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990420195059.BCE6714EEE>