svn commit: r565330 - in head: . www www/palemoon www/palemoon/files

Jan Beich jbeich at FreeBSD.org
Mon Feb 22 12:01:10 UTC 2021


Jan Beich <jbeich at FreeBSD.org> writes:

> Olivier Certner <olivier.freebsd at 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>


More information about the svn-ports-all mailing list