gawk: disable mpfr detection

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>
This commit is contained in:
Tianling Shen 2023-06-01 16:05:11 +08:00 committed by Rosen Penev
parent 58719c0aa4
commit 3d9b6df7d8
1 changed files with 3 additions and 1 deletions

View 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/