[OE-core] [meta-oe][PATCH] cups: extend cups-no-gcrypt.patch to apply to configure script

Peter A. Bigot pab at pabigot.com
Mon Jul 14 15:33:06 UTC 2014


On 07/14/2014 09:37 AM, Burton, Ross wrote:
> On 12 July 2014 03:42, Peter A. Bigot <pab at pabigot.com> wrote:
>> The original patch removed gcrypt from an m4 source file that
>> contributes to configure.in, but didn't apply those changes to or
>> rebuild the configure script itself.  This allowed libgcrypt-config to
>> be found, adding native libraries to the target build.
> I'm really not happy with maintaining patches to generated files, do
> you know why we don't use the usual autotools class to re-generate the
> configure script at build time?

No; it was that way when I found it, and I'm still too rusty on yocto to 
do it the right way.  If you can point me to a recipe that does this 
I'll try to rework it (and resubmit based on openembedded-core instead 
of poky).

(FWIW: The issue doesn't show up building cups; it shows up with 
core-image-lsb building ghostscript which believes cups-config's lie 
that it needs -L/lib/x86_64-linux-gnu to find the gcrypt libraries that 
it doesn't reference.)

Peter



More information about the Openembedded-core mailing list