Date: Thu, 10 Aug 2006 21:24:42 +0200 From: "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> To: Stanislav Sedov <ssedov@mbsd.msk.ru> Cc: freebsd-ports@freebsd.org Subject: Re: ports without configure do not receive CC Message-ID: <44DB87FA.4020505@gmx.de> In-Reply-To: <20060810224838.639c57e8@localhost> References: <44DB5692.6040005@gmx.de> <20060810214516.7e0ff056@localhost> <44DB72FC.8010009@gmx.de> <20060810224838.639c57e8@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Stanislav Sedov wrote: > On Thu, 10 Aug 2006 19:55:08 +0200 > "[LoN]Kamikaze" <LoN_Kamikaze@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 > That leads to no end of problems if you have different settings for different ports, because a port gets its specific settings and will later override them with the settings that are set for all ports.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44DB87FA.4020505>