mtools: avoid picking libbsd dependency

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>
This commit is contained in:
Eneas U de Queiroz 2022-05-01 16:22:23 -03:00 committed by 1582130940
parent 5546b1302b
commit f674c0951c

View File

@ -29,7 +29,9 @@ define Package/mtools/description
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