[yocto] pcre-config replacement

Burton, Ross ross.burton at intel.com
Thu Jan 31 02:13:59 PST 2019


On Thu, 31 Jan 2019 at 00:14, Chuck Wolber <chuckwolber at 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


More information about the yocto mailing list