Re: Mac G5 X11 performance

Jason Bacon <[email protected]>
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]>
Nice work.  I confirmed that this patch fixes the build on a stock gcc 
4.2 based installation.

Is anyone on this list able to commit it?

On 2019-05-23 19:58, Mark Millard wrote:
> I'm able to build devel/qt5-core based on:
>
> # svnlite diff/usr/ports/Mk/Uses/
> Index: /usr/ports/Mk/Uses/qt-dist.mk
> ===================================================================
> --- /usr/ports/Mk/Uses/qt-dist.mk	(revision 501994)
> +++ /usr/ports/Mk/Uses/qt-dist.mk	(working copy)
> @@ -251,7 +251,7 @@
>   .if ${_QT_VER:M5}
>   post-patch: gcc-post-patch
>   gcc-post-patch:
> -	${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' \
> +	${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \
>   		${WRKSRC}/mkspecs/common/gcc-base.conf \
>   		${WRKSRC}/mkspecs/freebsd-g++/qmake.conf
>   	${REINPLACE_CMD} 's|%%GCC_DEFAULT%%|${GCC_DEFAULT}|g' \
>
> I noticed that my build logs had %%LOCALBASE%% text that had
> not been replaced, in particular the 2nd one on a particular
> line. That lead to noticing the missing "g".
>
> (I'm not a ports committer or maintainer.)
>
> I experiment with a system-clang-8 and base/binutils based
> powerpc64 environment, instead of gcc 4.2.1 based. So direct
> inference of others being able to do the same would not
> apply. But it seems likely to me.
>
>
> Side note:
>
> qt-dist.mk sometimes uses -e with ${REINPLACE_CMD} even when
> only one command is being fed to sed, a context in which the -e
> is optional.


-- 
Earth is a beta site.

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.