mtools: avoid picking libbsd dependency
authorEneas U de Queiroz <redacted>
Sun, 1 May 2022 19:22:23 +0000 (16:22 -0300)
committerRosen Penev <redacted>
Mon, 2 May 2022 19:47:44 +0000 (12:47 -0700)
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>
utils/mtools/Makefile

index 39108898b94e2865e169e50ee2a957b6a9f4bc63..6a529be453d27e4d78d96d7ebd6edd636d9ec188 100644 (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
git clone https://git.99rst.org/PROJECT