On Feb 1, 2012, at 4:42 AM, Aljaž Srebrnič wrote:

> Hello!
> Sorry to bother you, but I need to eliminate the CPATH variable in the build 
> phase, that is currently CPATH="/opt/local/include", I tried adding first 
> build.env-delete CPATH="/opt/local/include", and then I tried 
> build.env-append CPATH="". None of this is working… Where am I wrong?

The guide says build.env has no default:
http://guide.macports.org/#reference.phases.build

Are you using a PortGroup?

Maybe compiler.cpath?
pillbox:trunk brad$ grep -R CPATH base
base/src/port1.0/portutil.tcl:        set ${command}.env_array(CPATH) [join 
[option compiler.cpath] :]



Regards,
Bradley Giesbrecht (pixilla)





_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to