Subject: CVS commit: [pkgsrc-2005Q2] pkgsrc/net/bind9
To: None <>
From: Lubomir Sedlacik <>
List: pkgsrc-changes
Date: 06/27/2005 00:49:23
Module Name:	pkgsrc
Committed By:	salo
Date:		Mon Jun 27 00:49:23 UTC 2005

Modified Files:
	pkgsrc/net/bind9 [pkgsrc-2005Q2]:

Log Message:
Pullup ticket 568 - requested by Johnny C. Lam
built-in detection fix for bind9

Revisions pulled up:
- pkgsrc/net/bind9/	1.9

   Module Name:		pkgsrc
   Committed By:	jlam
   Date:		Sun Jun 26 04:05:41 UTC 2005

   Modified Files:

   Log Message:
   Fix the detection of bind on systems where it's available natively.
   This bug was introduced in revision 1.7 where bind was determined to
   be built-in only if libbind.* existed on the system, which isn't
   necessarily true on systems where the resolver routines are incorporated
   into libc, e.g. NetBSD.

   We now consider bind to be built-in if BUILTIN_VERSION.bind is defined,
   and we define BUILTIN_VERSION.bind only if /usr/sbin/named exists on
   the system.  We also improve the derivation of the version number of
   BIND by parsing the named output, so we can now also detect bind-4.x
   and bind-8.x.

To generate a diff of this commit:
cvs rdiff -r1.8 -r1.8.2.1 pkgsrc/net/bind9/

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.