On Thu, 31 Jan 2019 at 00:14, Chuck Wolber <chuckwol...@gmail.com> wrote: > What is the recommended packaging approach for an upstream configure script > that seems to think that it must have pcre-config (which is disabled by the > binconfig-disabled class)? > > Looking at the source of the upstream package seems to indicate that they > actually do need pcre, so this is not as simple as patching the configure > script.
pkg-config. Inherit the pkgconfig class in the recipe if it doesn't already, and see for example meta/recipes-devtools/swig/swig/0001-configure-use-pkg-config-for-pcre-detection.patch in oe-core for an example. This is an upstreamable change so ideally submit it upstream so you don't have to carry a patch around too. Ross -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto