1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

multimedia/webcamoid: Add .if/.endif for the g++ binary alias

This is a followup to the commit r494857

Reminded by:	gerald
This commit is contained in:
Yuri Victorovich 2019-05-25 07:50:29 +00:00
parent 93c2d9cef7
commit 1ea08b6396
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=502504

View File

@ -30,7 +30,11 @@ QMAKE_ARGS= INSTALLQMLDIR=${QT_QMLDIR} \
LIBDIR=${PREFIX}/lib \
MANDIR=${PREFIX}/man
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
# Workaround for Bug#224137: devel/qt5-qmake: Doesn't use the right compiler in case USE_GCC is selected
BINARY_ALIAS= g++=${CXX}
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>