From: Eneas U de Queiroz Date: Sun, 1 May 2022 19:22:23 +0000 (-0300) Subject: mtools: avoid picking libbsd dependency X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d6960886bdddbc7fe6235bf82a2f28db61efa964;p=openwrt-packages.git 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 --- diff --git a/utils/mtools/Makefile b/utils/mtools/Makefile index 39108898b..6a529be45 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