On Sat, Apr 28 2018, Markus Hennecke <markus-henne...@markus-hennecke.de> wrote:
> On Fri, 27 Apr 2018, s_g...@telus.net wrote:
>
>>  
>> 
>> I loaded the latest ports and src this morning.  Do some other packages need
>> to be rebuilt also?
>
> I should have checked but didn't have the time. And at first glance 
> everything looked ok. But Makefile is different to the configure shell 
> script. The problem is fixed by using $(CC) instead of $CC in the shell 
> expression:

Committed, thanks.

> Index: patches/patch-gcc_Makefile_in
> ===================================================================
> RCS file: /cvs/ports/lang/gcc/4.9/patches/patch-gcc_Makefile_in,v
> retrieving revision 1.2
> diff -u -p -r1.2 patch-gcc_Makefile_in
> --- patches/patch-gcc_Makefile_in       25 Apr 2018 12:56:56 -0000      
> 1.2
> +++ patches/patch-gcc_Makefile_in       27 Apr 2018 22:16:34 -0000
> @@ -9,7 +9,7 @@ Index: gcc/Makefile.in
>
>   CFLAGS-gcc.o += $(DRIVER_DEFINES)
>
> -+ISCLANG = $(shell $CC --version | grep -c clang)
> ++ISCLANG = $(shell $(CC) --version | grep -c clang)
>  +
>  +ifeq ($(ISCLANG),1)
>  +CFLAGS-insn-attrtab.o += -fbracket-depth=512
>

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to