ports without configure do not receive CC

Stanislav Sedov ssedov at mbsd.msk.ru
Thu Aug 10 18:34:24 UTC 2006


On Thu, 10 Aug 2006 19:55:08 +0200
"[LoN]Kamikaze" <LoN_Kamikaze at gmx.de> mentioned:
> Try that one in your make.conf:
> 
> .if ${CURDIR:M/usr/ports/*}
> CC= distcc cc
> CXX= distcc c++
> .endif
> 
> WRKDIRPREFIX=/usr/obj
> 
> 
> You'll see that in this case it is an issue. And that's exactly how my systems are set up.

% cd `mktemp -d /tmp/tmp.xxx`
% sudo sh -c 'echo "CC=distcc cc" >> /etc/make.conf'
% cat /etc/make.conf|grep CC
CC=distcc cc
% cat > Makefile
pre-everything::
	make -V CC
.include <bsd.port.mk>
^D
% make pre-everything
distcc cc

-- 
Stanislav Sedov         MBSD labs, Inc.         <ssedov at mbsd.msk.ru>
Россия, Москва         http://mbsd.msk.ru

--------------------------------------------------------------------
If the facts don't fit the theory, change the facts.  -- A. Einstein
--------------------------------------------------------------------
PGP fingerprint:  F21E D6CC 5626 9609 6CE2  A385 2BF5 5993 EB26 9581
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060810/3be49638/signature.pgp


More information about the freebsd-ports mailing list