Solved qt5-qmake update fails; general qt5 update

Today is the day of troubles:

Code:
===>  Applying FreeBSD patches for qt5-qmake-5.9.3
/usr/bin/sed -i "" -e "/DEFAULT_LIBDIRS=/ s,\\\\\"\\\\n,\\\\n/usr/local/lib&,"  /ram/usr/ports/devel/qt5-qmake/work/qtbase-opensource-src-5.9.3/configure
===>   qt5-qmake-5.9.3 depends on package: pkgconf>=1.3.0_1 - found
===>  Configuring for qt5-qmake-5.9.3
/bin/mkdir -p /ram/usr/ports/devel/qt5-qmake/work/qtbase-opensource-src-5.9.3
echo 'CMAKE_MODULE_TESTS = -' > /ram/usr/ports/devel/qt5-qmake/work/qtbase-opensource-src-5.9.3/.qmake.cache
echo 'QMAKE_LIBDIR_FLAGS = -L/ram/usr/ports/devel/qt5-qmake/work/qtbase-opensource-src-5.9.3/lib' >> /ram/usr/ports/devel/qt5-qmake/work/qtbase-opensource-src-5.9.3/.qmake.cache
Syntax error: ")" unexpected (expecting "then")
*** Error code 2

Stop.
make: stopped in /usr/ports/devel/qt5-qmake

===>>> make build failed for devel/qt5-qmake
===>>> Aborting update

But it compiles if I do:
make CC=clang40 CXX=clang++40 CPP=clang-cpp40
(maybe, it needs -rpath or something....or it is the llvm problem, see firefox)


EDIT: same problem net/qt5-network.
 
Another problem (is the command wrong?)
Code:
portmaster  -m -DCC=clang40 -m -DCXX=clang++40 -m -DCPP='clang-cpp40' devel/qt5-qmake

===>>> The -PP option must stand alone
===>>> Aborting update
 
Solved it for the moment with:
Code:
/etc/make.conf
.if ${.CURDIR:M*/ports/devel/qt5*}
CC=clang40
CXX=clang++40
CPP=clang-cpp40
.endif


EDIT: changed it cause of net/qt5-network to general:
Code:
CC=clang40
CXX=clang++40
CPP=clang-cpp40
 
qt5-multimedia fails with:
Code:
===>  Patching for qt5-multimedia-5.9.3
===>  Applying extra patch /usr/ports/multimedia/qt5-multimedia/files/extrapatch-no-gstreamer
No such line 17 in input file, ignoring
1 out of 1 hunks failed--saving rejects to qtmultimedia.pro.rej
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/multimedia/qt5-multimedia
*** Error code 1

Could be solved with set GSTREAMER=on
or
remove
files/extrapatch-no-gstreamer
and this line in the Makefile
Code:
GSTREAMER_EXTRA_PATCHES_OFF=   ${FILESDIR}/extrapatch-no-gstreamer

seems is forgotten to remove.
 
Back
Top