[Buildroot] [git commit] package/snappy: add dependency on host-pkgconf

Peter Korsgaard peter at korsgaard.com
Thu Dec 18 21:59:57 UTC 2014


commit: http://git.buildroot.net/buildroot/commit/?id=3a56d1b4a9fd8fa6fb8bd701ea065bb03079ef96
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Snappy doesn't configure without host pkg-config, causing this totally
unhelpful diagnostic from autoconf:

  configure.ac:42: error: possibly undefined macro: AC_DEFINE
        If this token and others are legitimate, please use m4_pattern_allow.
        See the Autoconf documentation.
  configure.ac:44: error: possibly undefined macro: AC_MSG_FAILURE

So add host-pkgconf to the package's DEPENDENCIES list.

Signed-off-by: Steve James <ste at junkomatic.net>
Acked-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/snappy/snappy.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/snappy/snappy.mk b/package/snappy/snappy.mk
index fd89325..6bda7ce 100644
--- a/package/snappy/snappy.mk
+++ b/package/snappy/snappy.mk
@@ -10,6 +10,7 @@ SNAPPY_LICENSE = BSD-3c
 SNAPPY_LICENSE_FILES = COPYING
 # from git
 SNAPPY_AUTORECONF = YES
+SNAPPY_DEPENDENCIES = host-pkgconf
 SNAPPY_INSTALL_STAGING = YES
 
 $(eval $(autotools-package))


More information about the buildroot mailing list