"MACOSX_DEPLOYMENT_TARGET"

Joshua Root jmr at macports.org
Tue Jul 15 05:18:37 PDT 2008


Ryan Schmidt wrote:
> On Jul 15, 2008, at 05:50, Joshua Root wrote:
> 
>> Ryan Schmidt wrote:
>>
>>> With debug output on, I see this fly by during the configure phase:
>>>
>>>
>>> DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/mp/include' CXXFLAGS='-
>>> O2' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2'
>>> LDFLAGS='-L/mp/lib' FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/
>>> usr/bin/install -c' OBJCFLAGS='-O2' FFLAGS='-O2'
>>> "MACOSX_DEPLOYMENT_TARGET"='10.5' CC='/usr/bin/gcc-4.0'
>>>
>>>
>>> Why is "MACOSX_DEPLOYMENT_TARGET" in quotes an the other environment
>>> variable names aren't?
>>
>> Because macosx_deployment_target is an option separate from
>> ${phase}.env, and its corresponding env variable gets set separately in
>> the command_exec proc in portutil.tcl, and quotes are used there.
> 
> Can the quotes be removed so that it is consistent with the other 
> environment variables and doesn't look weird? Or are the quotes needed?

Can't see any reason they'd be needed. I'll remove them.

- Josh


More information about the macports-dev mailing list