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 <redacted>
Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them.
endef
-CONFIGURE_VARS += ac_cv_have_x="have_x=no"
+CONFIGURE_VARS += \
+ ac_cv_have_x="have_x=no" \
+ ac_cv_lib_bsd_main=no
define Package/mtools/install
$(INSTALL_DIR) $(1)/usr/bin