oath: inherit pkgconfig

* Newer oe-core doesn't pull many default dependencies anymore:
  https://lists.openembedded.org/g/openembedded-core/message/156185
  add explicit dependency on pkgconfig through pkgconfig.bbclass as
  we're using it here.

* fixes:
  ../../oath-toolkit-2.6.2/liboath/configure: line 30585: PKG_PROG_PKG_CONFIG: command not found
  checking for gtk-doc... ../../oath-toolkit-2.6.2/liboath/configure: line 30595: syntax error near unexpected token `$gtk_doc_requires,have_gtk_doc=yes,have_gtk_doc=no'
  ../../oath-toolkit-2.6.2/liboath/configure: line 30595: `  PKG_CHECK_EXISTS($gtk_doc_requires,have_gtk_doc=yes,have_gtk_doc=no)'
  configure: error: ../../oath-toolkit-2.6.2/liboath/configure failed for liboath

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Martin Jansa 2021-09-30 10:49:50 +02:00 committed by Bruce Ashfield
parent 17365d3afa
commit 1a9f6d9cf6

View File

@ -12,7 +12,7 @@ S = "${WORKDIR}/${BPN}-toolkit-${PV}"
SRC_URI[md5sum] = "4a05cd4768764843bd5493609a6bdb17" SRC_URI[md5sum] = "4a05cd4768764843bd5493609a6bdb17"
SRC_URI[sha256sum] = "b03446fa4b549af5ebe4d35d7aba51163442d255660558cd861ebce536824aa0" SRC_URI[sha256sum] = "b03446fa4b549af5ebe4d35d7aba51163442d255660558cd861ebce536824aa0"
inherit autotools inherit autotools pkgconfig
# Specify any options you want to pass to the configure script using EXTRA_OECONF: # Specify any options you want to pass to the configure script using EXTRA_OECONF:
EXTRA_OECONF = "" EXTRA_OECONF = ""