diff mbox

opkg: fix configure step by adding host-pkgconf dependency

Message ID 1358267955-24060-1-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Commit 3d680bf0dd0bd0f62dad91c9bf8c7657ebc5f59b
Headers show

Commit Message

Thomas Petazzoni Jan. 15, 2013, 4:39 p.m. UTC
The opkg configure.ac uses the PKG_CHECK_MODULES() m4 macro, which is
provided by the .m4 files installed by host-pkgconf, so we must have
this package as a dependency.

Fixes:

  http://autobuild.buildroot.org/results/069fcab6e7dd5a1f07251ba6f52f65643a2f7594/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/opkg/opkg.mk |    2 ++
 1 file changed, 2 insertions(+)

Comments

Peter Korsgaard Jan. 15, 2013, 8:38 p.m. UTC | #1
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> The opkg configure.ac uses the PKG_CHECK_MODULES() m4 macro, which is
 Thomas> provided by the .m4 files installed by host-pkgconf, so we must have
 Thomas> this package as a dependency.

 Thomas> Fixes:

 Thomas>   http://autobuild.buildroot.org/results/069fcab6e7dd5a1f07251ba6f52f65643a2f7594/build-end.log

Committed, thanks.
diff mbox

Patch

diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
index 3ba61ae..9932d3f 100644
--- a/package/opkg/opkg.mk
+++ b/package/opkg/opkg.mk
@@ -11,6 +11,8 @@  OPKG_SITE_METHOD = svn
 OPKG_INSTALL_STAGING = YES
 OPKG_CONF_OPT = --disable-curl --disable-gpg
 OPKG_AUTORECONF = YES
+# Uses PKG_CHECK_MODULES() in configure.ac
+OPKG_DEPENDENCIES = host-pkgconf
 
 # Ensure directory for lockfile exists
 define OPKG_CREATE_LOCKDIR