Patchwork opkg: fix configure step by adding host-pkgconf dependency

login
register
mail settings
Submitter Thomas Petazzoni
Date Jan. 15, 2013, 4:39 p.m.
Message ID <1358267955-24060-1-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/212226/
State Accepted
Commit 3d680bf0dd0bd0f62dad91c9bf8c7657ebc5f59b
Headers show

Comments

Thomas Petazzoni - Jan. 15, 2013, 4:39 p.m.
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(+)
Peter Korsgaard - Jan. 15, 2013, 8:38 p.m.
>>>>> "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.

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