On Thu, 10 Aug 2006 19:55:08 +0200
"[LoN]Kamikaze" <[EMAIL PROTECTED]> 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.         <[EMAIL PROTECTED]>
Россия, Москва         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

Attachment: signature.asc
Description: PGP signature

Reply via email to