пт, 27 апр. 2018 г., 18:01 Landry Breuil <lan...@openbsd.org>: > Hi, > > spotted this one while looking at other things: > > pre-configure: > @gccbasedir=`ecpp -print-search-dirs | awk '/^install:/{print > $$2}'`; \ > perl ${PORTSDIR}/infrastructure/bin/pkg_subst \ > -D OPENBSD_INCDIR_PREPEND="$${gccbasedir}include" \ > ${WRKSRC}/mkspecs/openbsd-g++/qmake.conf \ > ${WRKSRC}/mkspecs/openbsd-clang/qmake.conf > > but ecpp is in lang/gcc, and qt5 wont depend on it on clang archs, so it > will be silently ignored... maybe it should just use cpp ? >
This gross hack exists for egcc only, to make sure stuff like atomics is always accessible for Qt 5 and dependant ports. For CLang arches there should be no need for this nonsense, and the whole Makefile command may be omitted. But such change should go through bulk build first, of course. >