deployment target and sdk version (was Re: [115735] trunk/dports/devel/class-dump/Portfile)

Joshua Root jmr at macports.org
Sat Jan 25 03:20:27 PST 2014


On 2014-1-25 21:22 , Jeremy Huddleston Sequoia wrote:
> 
> On Jan 24, 2014, at 23:13, Lawrence Velázquez <larryv at macports.org> wrote:
> 
>> On Jan 10, 2014, at 2:41 PM, Jeremy Huddleston Sequoia <jeremyhu at macports.org> wrote:
>>
>>> On Jan 10, 2014, at 08:50, Joshua Root <jmr at macports.org> wrote:
>>>
>>>>> Revision: 115735
>>>>>        https://trac.macports.org/changeset/115735
>>>>> Author:   larryv at macports.org
>>>>> Date:     2014-01-09 21:25:03 -0800 (Thu, 09 Jan 2014)
>>>>> Log Message:
>>>>> -----------
>>>>> class-dump: Go back to configure.sdkroot.
>>>>>
>>>>> Turns out "macosx_sdk_version" isn't a Portfile option, despite what
>>>>> portfile(1) says.
>>>>
>>>> Yes, this shouldn't be listed in portfile.7 since it's only a
>>>> macports.conf setting. But even if it was a portfile option, it was only
>>>> added to trunk a bit over a week ago.
>>>
>>> Well it *should* be a Portfile setting.  If I messed that up and it isn't, then the bug is to *make* it settable in a Portfile (not delete it from documentation).
>>
>> https://trac.macports.org/changeset/116437
>> https://trac.macports.org/changeset/116438
> 
> Thanks.  That had slipped my mind.
> 
> Should we deprecate macosx_deployment_target and add configure.deployment_target for consistency?

We set MACOSX_DEPLOYMENT_TARGET for all commands, not just configure. We
can't do the same with the sdkroot because -isysroot doesn't have an
equivalent environment variable.

- Josh


More information about the macports-dev mailing list