package/openocd: add missing host-pkgconf dependency
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 15 Nov 2018 16:46:55 +0000 (17:46 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 16 Nov 2018 22:28:50 +0000 (23:28 +0100)
commit915c136c5c9abeb683b59fad4a0e05a25c1a1cc2
tree1a4ad0e17a36a98d4032f276172f3fdf4a6c8e1a
parent2a9fa7e5e7bfa355b1aadc53d67dd356f54efb33
package/openocd: add missing host-pkgconf dependency

The configure.ac script uses PKG_CHECK_MODULES(), and we autoreconf
the package, so host-pkgconf should be listed in the dependencies.

This issue is seen either with per-package folders, or by doing a
clean build with just "make openocd":

>>> openocd 0.10.0 Configuring
>>> openocd 0.10.0 Autoreconfiguring
[...]
configure.ac:12: error: possibly undefined macro: AC_MSG_WARN
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:201: error: possibly undefined macro: AC_DEFINE
configure.ac:582: error: possibly undefined macro: AC_MSG_NOTICE

Even if the message seems unrelated, it's really the lack of pkg.m4
from host-pkgconf that causes the issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/openocd/openocd.mk