Does any body know how to recompile the OpenBSD included
sendmail source (-current) to use Berkeley DB4 from ports?

I've been trying to recompile sendmail from source (-current) with
Berkeley DB4 support enabled... and I can't seem to figure it out.

Using the standard sendmail distribution I can do it just fine by adding:
dnl
########################################### #########
APPENDDEF(`confMAPDEFb, `-DNEWDBb)dnl
APPENDDEF(`confLIBDIRSb, `-L/usr/local/lib/db4 -R/usr/local/libb)
APPENDDEF(`confINCDIRSb, `-I/usr/local/include/db4b2)
dnl
########################################### #########
to sendmail-8.13.6/devtools/Site/site.config.m4 dnl
and recompiling... but I'd like to compile from the sources that were
included with -current.

I tried adding the APPENDEFs to
/usr/src/gnu/usr.sbin/sendmail/cf/siteconfig/site.config.m4
and recompiling but that didn't do it...

I then tried using /etc/mk.conf but that didn't seem to work either.
Does anyone know where the proper place would be to have sendmail
recompile correctly with BDB4?

Thanks! -s
( http://www.fif3.com/category/code/ )

Reply via email to