Subject: Re: pkg/29955: mail/fetchmail fails to configure on NetBSD 2.0 with Kerberos V
To: None <pkgsrc-bugs@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: pkgsrc-bugs
Date: 04/12/2005 12:05:13
--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

j+nbsd@2005.salmi.ch --> pkgsrc-bugs (2005-04-12 09:36:00 +0000):
> >Number:         29955
> >Category:       pkg
> >Synopsis:       mail/fetchmail fails to configure on NetBSD 2.0 with Kerberos V
[...]
> All it needs to fix this is probably a small modification to patch-ae. I'll
> send a diff in a minute.

Here's the patch.

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~

--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch-ae.diff"

--- patch-ae	2005-02-08 14:20:59.000000000 +0100
+++ patches/patch-ae	2005-04-12 11:03:39.000000000 +0200
@@ -6,7 +6,7 @@
    AC_DEFINE(KERBEROS_V5)
    CEFLAGS="$CEFLAGS -I/usr/include/kerberosV"
    LIBS="$LIBS -lasn1 -lkrb5 -lcom_err -lkafs"
-+elif test "$with_kerberos5" = "yes" && ( test `uname` = "NetBSD" )
++elif test "$with_kerberos5" != "no" && ( test `uname` = "NetBSD" )
 +then
 +  AC_CHECKING([kerberosV for NetBSD])
 +  AC_DEFINE(HEIMDAL)
@@ -6094,7 +6094,7 @@
  
    CEFLAGS="$CEFLAGS -I/usr/include/kerberosV"
    LIBS="$LIBS -lasn1 -lkrb5 -lcom_err -lkafs"
-+elif test "$with_kerberos5" = "yes" && ( test `uname` = "NetBSD" )
++elif test "$with_kerberos5" != "no" && ( test `uname` = "NetBSD" )
 +then
 +  { echo "$as_me:$LINENO: checking kerberosV for NetBSD..." >&5
 +echo "$as_me: checking kerberosV for NetBSD..." >&6;}

--FL5UXtIhxfXey3p5--