Subject: mail/postfix build: HAS_DB redefined
To: None <email@example.com>
From: Jukka Salmi <firstname.lastname@example.org>
Date: 02/28/2005 16:25:17
someone else reported this before, 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
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 options.mk (or '#define HAS_DB' from
sys_defs.h) suppresses the warning.
So, what is the correct solution? -DHAS_DB was added to options.mk on
Nov 30 by jlam.
$ ((RANDOM%6)) || rm -rf ~