From f674c0951ca5ab42b99a7dc8fbb97b03a13d5f97 Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Sun, 1 May 2022 16:22:23 -0300 Subject: [PATCH] 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 --- utils/mtools/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/mtools/Makefile b/utils/mtools/Makefile index 39108898..6a529be4 100644 --- a/utils/mtools/Makefile +++ b/utils/mtools/Makefile @@ -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