tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: graphics/babl: fixes for MacOS

> On Feb 23, 2020, at 7:34 AM, Joerg Sonnenberger <> wrote:
> On Sun, Feb 23, 2020 at 11:26:38AM +0000, nia wrote:
>> The arguments are transformed by cwrappers.
>> You need to apply the BUILDLINK_TRANSFORM to the transformed arguments,
>> see the existing lines for appeasing the SunOS linker.
> They are usign the split argument version. We don't normalize between
> the forms. That's a stupid pain to match as separate flags.

I’m not sure what you are saying here, but the situation with transforms is indeed confusing. 

The untransformed command ([*] in .work.log) has "-Wl,--version-script,”.  It would seem, then, that the appropriate BUILDLINK_TRANSFORM should transform that form of the command not something else that has already been transformed.

Does this mean that the argument splitting precedes the transformation in cwrappers?

Would the opposite order make more sense?

Are there some transforms that are best written in terms of the transformed arguments that make less sense for the pre-transformed arguments?

Should there be two types of transforms, pre- and post?


Home | Main Index | Thread Index | Old Index