Noobish question

Aljaž Srebrnič a2piratesoft at gmail.com
Wed Feb 1 08:58:59 PST 2012


No, no PortGroup is used, but compiler.cpath solves the issue!
It is strangely undocumented, though… :/

Aljaž Srebrnič
-- --
My public key:  http://bit.ly/g5pw_pubkey

On 01/feb/2012, at 17:55, Bradley Giesbrecht wrote:

> 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)
> 
> 
> 
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120201/ba66f201/attachment.bin>


More information about the macports-users mailing list