Re: ports without configure do not receive CC

2006-08-10 Thread [LoN]Kamikaze
Scot Hetzel wrote: > On 8/10/06, Stanislav Sedov <[EMAIL PROTECTED]> wrote: >> On Thu, 10 Aug 2006 21:24:42 +0200 >> "[LoN]Kamikaze" <[EMAIL PROTECTED]> mentioned: >> > That leads to no end of problems if you have different settings for >> different ports, >> > because a port gets its specific sett

Re: ports without configure do not receive CC

2006-08-10 Thread Scot Hetzel
On 8/10/06, Scot Hetzel <[EMAIL PROTECTED]> wrote: Or use the sysutils/portconf port, and then place your port specific variables in the /usr/local/etc/port.conf file, no need to clutter /etc/make.conf. CATEGORY/PORTNAME*: CC=XXX editors/openoffice*: WITH_TTF_BYTECODE_ENABLED Forgot to mention

Re: ports without configure do not receive CC

2006-08-10 Thread Scot Hetzel
On 8/10/06, Stanislav Sedov <[EMAIL PROTECTED]> wrote: On Thu, 10 Aug 2006 21:24:42 +0200 "[LoN]Kamikaze" <[EMAIL PROTECTED]> mentioned: > 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

Re: ports without configure do not receive CC

2006-08-10 Thread Stanislav Sedov
On Thu, 10 Aug 2006 21:24:42 +0200 "[LoN]Kamikaze" <[EMAIL PROTECTED]> mentioned: > 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. Yo

Re: ports without configure do not receive CC

2006-08-10 Thread [LoN]Kamikaze
Stanislav Sedov wrote: > 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. Wh

Re: ports without configure do not receive CC

2006-08-10 Thread Stanislav Sedov
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, CURD

Re: ports without configure do not receive CC

2006-08-10 Thread Stanislav Sedov
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 > > > You'll see that in this case it is an issue. And that's exactly how my

Re: ports without configure do not receive CC

2006-08-10 Thread [LoN]Kamikaze
Stanislav Sedov wrote: > On Thu, 10 Aug 2006 17:53:54 +0200 > "[LoN]Kamikaze" <[EMAIL PROTECTED]> mentioned: > >> Ports that do not set CC in their configure target don't get informed about >> the value of CC because it is only appended to MAKE_ENV for the configure >> target. > > I think it do

Re: ports without configure do not receive CC

2006-08-10 Thread Stanislav Sedov
On Thu, 10 Aug 2006 17:53:54 +0200 "[LoN]Kamikaze" <[EMAIL PROTECTED]> mentioned: > Ports that do not set CC in their configure target don't get informed about > the value of CC because it is only appended to MAKE_ENV for the configure > target. I think it doesn't present a big problem for i do

ports without configure do not receive CC

2006-08-10 Thread [LoN]Kamikaze
Ports that do not set CC in their configure target don't get informed about the value of CC because it is only appended to MAKE_ENV for the configure target. Therefore I have written this patch: http://www.freebsd.org/cgi/query-pr.cgi?pr=101120 It appends CC and CXX to the MAKE_ENV for the buil