I download dbmail-2.0.4 from site and try to build:
PATH=/opt/mysql/bin:$PATH
./configure \
--prefix=/opt/dbmail \
--with-mysql=/opt/mysql
configuring was successfull, but gmake:
In file included from misc.h:32,
from pop3d.c:41:
/usr/include/unistd.h:112: conflicting types for `dm_getopt'
dm_getopt.h:66: previous declaration of `dm_getopt'
gmake[2]: *** [pop3d.o] error 1
gmake[2]: Leaving directory `/usr/home/goodwin/src/dbmail-2.0.4'
gmake[1]: *** [all-recursive] error 1
gmake[1]: Leaving directory `/usr/home/goodwin/src/dbmail-2.0.4'
gmake: *** [all-recursive-am] error 2
How fix it?
OS: 4.11-STABLE FreeBSD
older releases build without any troubles