[Bug 224137] devel/qt5-qmake: Doesn't use the right compiler in case USE_GCC is selected

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 16 10:19:39 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224137

--- Comment #2 from Yuri Victorovich <yuri at freebsd.org> ---
(In reply to Tobias C. Berner from comment #1)

Without the g++ command tests for external libraries fail:
> Checking for ffmpeg... no
> Checking for gstreamer... no
> Checking for jack... no

when it should be:
> Checking for ffmpeg... yes
> Checking for ffmpeg_avcodec_contextframerate... yes
> Checking for ffmpeg_avcodec_extracodecformats... yes
> Checking for ffmpeg_avcodec_freecontext... yes
> Checking for ffmpeg_avcodec_packetref... yes
> Checking for ffmpeg_avcodec_rescalets... yes
> Checking for ffmpeg_avcodec_sendrecv... yes
> Checking for ffmpeg_avcodec_subtitledata... yes
> Checking for ffmpeg_avformat_allocoutputcontext... yes
> Checking for ffmpeg_avformat_codecpar... yes
> Checking for ffmpeg_avutil_extraoptions... yes
> Checking for ffmpeg_avutil_extrapixformats... yes
> Checking for ffmpeg_avutil_framealloc... yes
> Checking for ffmpeg_avutil_sampleformat64... yes
> Checking for ffmpeg_avresample... yes
> Checking for ffmpeg_swresample... yes

As a result, some shared libs aren't built.
The external libs are tested with macros like this:
qtCompileTest(ffmpeg_avcodec_contextframerate)

I guess, this qmake macro calls the g++ command instead of ${CXX}.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list