svn commit: r484868 - head/graphics/azpainter

Alexey Dokuchaev danfe at freebsd.org
Tue Nov 13 12:26:51 UTC 2018


On Tue, Nov 13, 2018 at 01:14:23PM +0100, Jan Beich wrote:
> Alexey Dokuchaev <danfe at FreeBSD.org> writes:
> > New Revision: 484868
> > URL: https://svnweb.freebsd.org/changeset/ports/484868
> >
> > Log:
> >   Try to unbreak the build on architectures that still use old GCC as their
> >   system compiler by using contemporary GCC version.
> >   
> >   Tested on:	powerpc
> [...]
> > +.include <bsd.port.pre.mk>
> 
> ARCH is defined in bsd.port.options.mk, so pre/post.mk could've been
> avoided.

I'll look into it, thanks.

> > +.if ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
> > +USE_GCC=	yes
> > +.endif
> 
> Why not USES=compiler:c++11-lang? mips* and riscv64 are also GCC-only atm.

Because seeing "c++11-lang" in pure C program is confusing?  I don't know
much knowledge about those arches so I didn't include them.  It would be
nice to specify "GCC-4.2.1 does not cut it" without having to spell C++11.

./danfe


More information about the svn-ports-all mailing list