Even though commit 96ec989ed ("mtools: update to 4.0.39") correctly
dropped libbsd dependency, the package's configure script will still
link to it if the library is found.
Tell configure not to look for it by setting ac_cv_lib_bsd_main=no.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
The package does not build due to host lib leakage, as evidenced by
config.log:
X_CFLAGS=' -I/usr/include'
X_LIBS=' -L/usr/lib'
Fix this by disabling X with a configure var.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>