Subject: Re: libdbm
To: Matthias Scheler <tron@lyssa.owl.de>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 09/24/1995 17:11:30
On Sat, 23 Sep 1995 18:34:50 +0100 
 "Matthias Scheler" <tron@lyssa.owl.de> wrote:

 > compiling "/usr/src/usr.sbin/sendmail/praliases" of 950922 SUP sources
 > fails because "/usr/lib/libdbm.a" is not found. Is "/usr/src/lib" out
 > of sync or did I miss something?

Well, to follow up, I just built praliases with the following Makefile 
(from a September 21 source tree):

#       @(#)Makefile    8.1 (Berkeley) 6/7/93

PROG=   praliases
CFLAGS+=-I${.CURDIR}/../src
DPADD=  ${LIBDBM}
NOMAN=  noman

.include "../../Makefile.inc"
.include <bsd.prog.mk>

No errors.  Note it doesn't require linking against libdbm.a, and 
presumably, if ${LIBDBM} isn't defined, the dependency isn't added...

--------------------------------------------------------------------------
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939