ports without configure do not receive CC

Stanislav Sedov ssedov at mbsd.msk.ru
Thu Aug 10 18:49:08 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
> 

Your real problem is WRKDIRPREFIX. When do-build target is executed,
CURDIR isn't /usr/ports/.* but /usr/obj/usr/ports/.*.
Thus, your problem could be solved by replacing
${CURDIR:M/usr/ports/*} with ${CURDIR:Musr/ports/*}

No need to modify bsd.port.mk

-- 
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/7d6e9b58/signature.pgp


More information about the freebsd-ports mailing list