Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 2021 13:01:08 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Olivier Certner <olivier.freebsd@free.fr>
Cc:        Kurt Jaeger <pi@freebsd.org>, Gerald Pfeifer <gerald@pfeifer.com>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r565330 - in head: . www www/palemoon www/palemoon/files
Message-ID:  <o8gc-e2gr-wny@FreeBSD.org>
In-Reply-To: <czws-fhhc-wny@FreeBSD.org> (Jan Beich's message of "Mon, 22 Feb 2021 12:51:27 %2B0100")
References:  <202102151919.11FJJMGp064158@repo.freebsd.org> <7595c273-707c-85f-4241-4ed264a257b9@pfeifer.com> <6023468.TRTBLuF5rb@ravel> <czws-fhhc-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Beich <jbeich@FreeBSD.org> writes:

> Olivier Certner <olivier.freebsd@free.fr> writes:
>
>> I think it would be great if the ports infrastructure allowed to specify 
>> building with GCC, but using libc++'s headers and linking against it,
>
> Did you try USES=compiler:gcc-c++11-lib ?
>
> https://svnweb.freebsd.org/changeset/ports/350623
> https://svnweb.freebsd.org/changeset/ports/428641

Nevermind, www/palemoon/Makefile contained reference to gcc-c++11-lib.
If you need non-default lang/gcc try overriding GCC_DEFAULT e.g.,

  USES=	compiler:gcc-c++11-lib

  .include <bsd.port.pre.mk>

  GCC_DEFAULT=	9 # newer versions not supported by upstream

  .include <bsd.port.post.mk>



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