https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237745
Mark Millard <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #7 from Mark Millard <[email protected]> --- Comment on attachment 204209 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204209 patch The line: -+EXTRA_INCLUDEPATH += %%LOCALBASE%%/lib/gcc%%GCC_DEFAULT%%/include %%LOCALBASE%%/lib/gcc%%GCC_DEFAULT%%/include/c++ involves multiple %%LOCALBASE%% so the substitution needs to allow more than one substitution per line: use of "g". In my context this looks like: # 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 and Jason Bacon were able to build devel/qt5-core with this change to how svn has things. (This does not address the oddity of some places having the optional -e and others not when there is only one sed command being fed to ${REINPLACE_CMD}.) -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.
