Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2019 04:45:52 +0300
From:      Rozhuk Ivan <rozhuk.im@gmail.com>
To:        tech-lists <tech-lists@zyxst.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Mk/bsd.gcc.mk errors
Message-ID:  <20190316044552.6ce0e40c@rimwks>
In-Reply-To: <20190315200413.GA71746@rpi3.zyxst.net>
References:  <20190315200413.GA71746@rpi3.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 15 Mar 2019 20:04:16 +0000
tech-lists <tech-lists@zyxst.net> wrote:

> context: ports r495804]
> 
> Getting these errors when trying to compile a port needing gcc:
> 
> make: stopped in /usr/ports
> make[2]: "/usr/ports/Mk/bsd.gcc.mk" line 130: warning: String
> comparison operator should be either == or !=
> make[2]: "/usr/ports/Mk/bsd.gcc.mk" line 130: Malformed conditional
> (${_USE_GCC} < ${GCC_DEFAULT})
> make[2]: Fatal errors encountered -- cannot continue
> make[2]: stopped in /usr/ports/net/ipxe
> *** Error code 1
> 

Just buld this port withiut errors.

Probably you set GCC_DEFAULT somewhere in /etc/make.conf or env.
GCC_DEFAULT can be:
4.2
4.8
5
6
7
8




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190316044552.6ce0e40c>