Skip to contentSkip to conversation

lxc: add missing inherit

PATCH New Mark Asselstine 1 participant 1 message Dec 18, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lxc: add missing inherit

lxc's configure script makes use of pkg-config so we need to inherit pkgconfig or else we may see an error like

./configure: line 5315: syntax error near unexpected token `PYTHONDEV,'

./configure: line 5315: `      PKG_CHECK_MODULES(PYTHONDEV, python3 >= \
                     3.2,,AC_MSG_ERROR([You must install python3-dev]))'

during configure.

---
 recipes-containers/lxc/lxc_0.9.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/lxc/lxc_0.9.0.bb +1 -1
index 8f7736b..fbb35de 100644
@@ -41,7 +41,7 @@ PACKAGECONFIG[doc] = "--enable-doc,--disable-doc,,"
 PACKAGECONFIG[rpath] = "--enable-rpath,--disable-rpath,,"
 PACKAGECONFIG[apparmour] = "--enable-apparmor,--disable-apparmor,apparmor,apparmor"
 
-inherit autotools
+inherit autotools pkgconfig
 
 FILES_${PN}-doc = "${mandir} ${infodir}"
 # For LXC the docdir only contains example configuration files and should be included in the lxc package
Signature · 1 line
1.8.3.2