cantarell-fonts: add inherit pkgconfig to get pkgconfig dependency
PATCH 1/1 cantarell-fonts: add inherit pkgconfig to get pkgconfig dependency
Without this, do_configure can fail with:
| ../git/configure: line 2381: syntax error near unexpected token `0.19' | ../git/configure: line 2381: `PKG_PROG_PKG_CONFIG(0.19)'
If pkgconfig-native happens to be added to the sysroot too late.
Signed-off-by Cody P Schafer <[email protected]>
--- meta/recipes-graphics/cantarell-fonts/cantarell-fonts_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/cantarell-fonts/cantarell-fonts_git.bb +1 -1
@@ -18,7 +18,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!0\.13)(?!0\.10\.1)\d+\.\d+(\.\d+)+)" S = "${WORKDIR}/git" -inherit autotools allarch fontcache +inherit autotools allarch fontcache pkgconfig PACKAGECONFIG ??= "" PACKAGECONFIG[fontforge] = "--enable-source-rebuild=yes,--enable-source-rebuild=no,fontforge-native"
Signature · 1 line
2.10.2
Quoted 8 lines · Cody P Schafer
Without this,
do_configurecan fail with:| ../git/configure: line 2381: syntax error near unexpected token
`0.19'| ../git/configure: line 2381: `PKG_PROG_PKG_CONFIG(0.19)'If pkgconfig-native happens to be added to the sysroot too late.
Looking at upstream's configure there's no reason why it calls that macro, so you could submit a patch to remove that line upstream and then just bump the SRCREV.
Ross