svn commit: r502504 - head/multimedia/webcamoid

Yuri Victorovich yuri at FreeBSD.org
Sat May 25 07:50:30 UTC 2019


Author: yuri
Date: Sat May 25 07:50:29 2019
New Revision: 502504
URL: https://svnweb.freebsd.org/changeset/ports/502504

Log:
  multimedia/webcamoid: Add .if/.endif for the g++ binary alias
  
  This is a followup to the commit r494857
  
  Reminded by:	gerald

Modified:
  head/multimedia/webcamoid/Makefile

Modified: head/multimedia/webcamoid/Makefile
==============================================================================
--- head/multimedia/webcamoid/Makefile	Sat May 25 06:27:52 2019	(r502503)
+++ head/multimedia/webcamoid/Makefile	Sat May 25 07:50:29 2019	(r502504)
@@ -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>


More information about the svn-ports-head mailing list