Subject: Re: pkg/23843
To: Michal Pasternak <michal@pasternak.w.lub.pl>
From: Michal Pasternak <michal@pasternak.w.lub.pl>
List: tech-pkg
Date: 02/14/2004 13:01:12
Thomas Klausner [Sat, Feb 14, 2004 at 12:17:28PM +0100]:
> On Sat, Feb 14, 2004 at 08:03:05AM +0100, Michal Pasternak wrote:
> > Please reopen this PR and fix it, it's trival.
> > 
> > Seems it got broken again somehow, xscreensaver doesn't compile on
> > FreeBSD-STABLE.
> 
> What exactly is the problem, and how should we fix it? The fix you
> suggested (adding --without-pam) is already in pkgsrc.

My fault, didn't examined too close, but it looked the same. Shame on me!

Anyway, the error is:
In file included from passwd.c:20:
/usr/include/stdlib.h:111: warning: ANSI C does not support long long'
/usr/include/stdlib.h:117: warning: ANSI C does not support long long'
gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89
-U__STRICT_ANSI__ -c -I. -I. -I./../utils -I..  -I/usr/pkg/include/libxml2
-I/usr/pkg/include -DHAVE_CONFIG_H -O2 -fno-strict-aliasing
-I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include
-I/usr/pkg/include -DPKGREVISION=2 -I/usr/X11R6/include passwd-kerberos.c
passwd-kerberos.c:48: des.h: No such file or directory
*** Error code 1

The fix is:
add --without-kerberos to CONFIGURE_ARGS for FreeBSD

FreeBSD Ports do the same.

Kerberos is available on FreeBSD, only it's 5, not 4. xscreensaver seems to
support Kerberos IV only.

Thanks for fixing that - and happy valentines day!