I've been trying to recompile sendmail from (openbsd-current) source
to use Berkeley DB4 from -current ports... and I can't seem to figure
it out. Could someone please point me in the right direction?

Using the standard sendmail distribution I can do it just fine by adding:

dnl
########################################### #########
APPENDDEF(confMAPDEF, -DNEWDBb)dnl
APPENDDEF(confLIBDIRS, -L/usr/local/lib/db4 -R/usr/local/lib)
APPENDDEF(confINCDIRS, -I/usr/local/include/db4)
dnl
########################################### #########
dnl

to sendmail-8.13.6/devtools/Site/site.config.m4
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


Reply via email to