Subject: Re: bootstrap-pkgsrc pkgdb breakage
To: None <tech-pkg@netbsd.org>
From: Jonathan Perkin <sketch@rd.bbc.co.uk>
List: tech-pkg
Date: 01/20/2003 16:47:14
* On 2003-01-19 at 18:22 GMT, Jonathan Perkin wrote:
> gcc -DHAVE_CONFIG_H -I. -I. -g -O2 -c pkgdb.c -o pkgdb.o
> pkgdb.c: In function `pkgdb_remove_pkg':
> pkgdb.c:213: `DBT' undeclared (first use in this function)
revision 1.8
date: 2003/01/20 04:30:17; author: jschauma; state: Exp; lines: +6 -2
In pkgdb_remove_pkg, only perform DB functions if HAVE_DBOPEN is defined,
else return EXIT_SUCCESS unconditionally (as in other functions dealing
with db functionality).
Thanks, that fixes it.
--
Jonathan Perkin - Internet Operations Engineer - BBC Internet Services
24x7 Hotline: +44 (0)1628 407 777 (x37777) - http://support.bbc.co.uk/