libraw: add dependency on host-pkgconf
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 12 Feb 2016 09:19:31 +0000 (10:19 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 13 Feb 2016 17:27:42 +0000 (18:27 +0100)
Otherwise, it fails to autoreconf with a weird error message:

configure.ac:15: error: possibly undefined macro: AC_SUBST
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:40: error: possibly undefined macro: AC_MSG_WARN

Indeed, the configure.ac uses PKG_CHECK_MODULES(), so we need to have
the corresponding m4 file installed by host-pkgconf.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libraw/libraw.mk

index 03f09f96f5add8376e1d9bd35b8ef40f6d5558d5..7fc4709e8f5a94eec11667796391bc9825f460d7 100644 (file)
@@ -17,6 +17,7 @@ LIBRAW_CONF_OPTS += \
        --disable-demosaic-pack-gpl3
 LIBRAW_LICENSE = LGPLv2.1 or CDDL 1.0 or LibRaw Software License 27032010
 LIBRAW_LICENSE_FILES = LICENSE.LGPL LICENSE.CDDL LICENSE.LibRaw.pdf README
+LIBRAW_DEPENDENCIES = host-pkgconf
 
 ifeq ($(BR2_PACKAGE_JASPER),y)
 LIBRAW_CONF_OPTS += --enable-jasper