gawk: disable mpfr detection
authorTianling Shen <cnsztl@immortalwrt.org>
Thu, 1 Jun 2023 08:05:11 +0000 (16:05 +0800)
committerTianling Shen <cnsztl@immortalwrt.org>
Wed, 7 Jun 2023 04:04:35 +0000 (12:04 +0800)
Disable mpfr detection to fix a build error due to (unncessary)
missing dependency:

```
Package gawk is missing dependencies for the following libraries:
libgmp.so.10
libmpfr.so.6
```

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 3d9b6df7d8f4ee52721bbd0693795367d987eb7d)

utils/gawk/Makefile

index a8bd99f5d0b629dd550a4352278b396103b2ac05..42deed8e67b5ae3e6aad798466ad4419d6ca738a 100644 (file)
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gawk
 PKG_VERSION:=5.2.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/gawk
@@ -29,6 +29,8 @@ define Package/gawk
   DEPENDS:=+libncursesw +libreadline
 endef
 
+CONFIGURE_ARGS+= --disable-mpfr
+
 define Package/gawk/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/gawk $(1)/usr/bin/