[oe] pkgconfig.bbclass changes
Koen Kooi
k.kooi at student.utwente.nl
Tue Sep 23 13:38:04 UTC 2008
Henning Heinold wrote:
> On Tue, Sep 23, 2008 at 01:54:23PM +0200, Koen Kooi wrote:
>> Hi,
>>
>> Henning fixed up pkgconfig.bbclass (which should die, since
>> autotools.bbclass does a much better job), but I think this:
>>
>> - for pc in `find ${S} -name '*.pc' -type f | grep -v --
>> '-uninstalled.pc$'`; do
>> + for pc in `find ${D} -name '*.pc' -type f | grep -v --
>> '-uninstalled.pc$'`; do
>>
>> breaks -native recipes.
>>
>> regards,
>>
>> Koen
>
> Hi,
>
> sorry you are right. This indeed breaks native packages I didnt
> thought of it, while fixing the pc file of xine.
I've been there myself: fixing bugs and then hearing people about
-native being broken.
> I think we can not let die pkgconfig.bbclass, because not all features are
> in autotools.class and there are cases where staging or install
> do not depend on the autotools install routines.
You are completely right about that, but we should move over autotools
based recipes to the autotools code and only use pkgconfig.bbclass for
non-autotooled recipes.
regards,
Koen
More information about the Openembedded-devel
mailing list