procps-ng: add required build dependencies

Since 3048ebedec added a autoreconfig fixup to
procps-ng, the build fails on certain systems with errors like

    configure.ac:72: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION

or

    configure:14998: error: possibly undefined macro: AM_ICONV_LINKFLAGS_BODY

Fix the issue by adding build time dependencies on the `gettext` and `libiconv`
stub libraries to ensure that `gettext.m4` and `iconv.m4` are installed into
the staging directory before `procps-ng` is getting reconfigured.

Fixes https://github.com/openwrt/packages/issues/2890#issuecomment-231115844

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2016-07-12 20:52:14 +02:00
parent 7088374279
commit aafbeea12b
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=procps-ng
PKG_VERSION:=3.3.11
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING COPYING.LIB
@ -22,6 +22,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_FIXUP:=autoreconf
PKG_BUILD_DEPENDS:=gettext libiconv
include $(INCLUDE_DIR)/package.mk