"MACOSX_DEPLOYMENT_TARGET"

Joshua Root jmr at macports.org
Tue Jul 15 03:50:56 PDT 2008


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.

- Josh


More information about the macports-dev mailing list