In the qmake port Makefile, there is the following snippet:

post-patch:
        @${REINPLACE_CMD} -e 's|-O2|${CXXFLAGS}|' \
                -e 's|gcc.*|${CC}|' \
                -e 's|g++.*|${CXX}|' \
                [...snip...]
                ${WRKSRC}/../mkspecs/freebsd-g++/qmake.conf \
                ${WRKSRC}/../mkspecs/freebsd-g++34/qmake.conf
        @${REINPLACE_CMD} -e 's|@QMAKE_QTOBJS@||g' ${WRKSRC}/Makefile.unix

One of effects of this is to change the compiler specified in the makespec to 
CC and CXX. This subverts the intention of freebsd-g++34, which is to 
generate a Makefile for a specific compiler version.

Should this sed be applied over just the freebsd-g++ mkspec?

-- 
David Johnson
_______________________________________________
kde-freebsd mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-freebsd

Reply via email to