Subject: pkg/29934: heimdal build fails on darwin
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 04/10/2005 17:09:00
>Number:         29934
>Category:       pkg
>Synopsis:       heimdal build fails on darwin
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 10 17:09:00 +0000 2005
>Release:        heimdal-0.6.3nb3
Darwin 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC  Power Macintosh powerpc
heimdal fails to build on darwin (macosx 10.3.8). Compilation fails on
lib/roken/resolve.c, with T_A etc <arpa/nameser8_compat.h> constants
being undefined. In darwin, BIND_8_COMPAT needs to be defined in order
to see these old constants via <arpa/nameser.h>.

Tools such as the gimp, ethereal and dia now require heimdal via
libgnome-2.10.0 (whose build fails with KRB5_TYPE=none, which could be
construed as a bug too). The problem with frameworks...
cd pkgsrc/security/heimdal; bmake
configure needs to define BIND_8_COMPAT in config.h on darwin (or set it
via CFLAGS, etc). Tested by manually patching config.h post-configure.