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 Rosen Penev
parent 1c3cf333f6
commit d6960886bd
1 changed files with 3 additions and 1 deletions

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