Subject: mail/postfix build: HAS_DB redefined
To: None <>
From: Jukka Salmi <>
List: tech-pkg
Date: 02/28/2005 16:25:17

someone else reported this before[1], but didn't receive an answer
(at least not publicly) so far.

While building mail/postfix from current pkgsrc on a NetBSD 2.0_STABLE
i386 system, a message like the following is printed every time sys_defs.h
is included:

cc [...] -DHAS_DB [...] -c verify.c
In file included from verify.c:166:
../../include/sys_defs.h:42:1: warning: "HAS_DB" redefined
<command line>:14:1: warning: this is the location of the previous definition

Removing 'CCARGS+=-DHAS_DB' from (or '#define HAS_DB' from
sys_defs.h) suppresses the warning.

So, what is the correct solution? -DHAS_DB was added to on
Nov 30 by jlam.

Cheers, Jukka


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