Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2019 07:50:29 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502504 - head/multimedia/webcamoid
Message-ID:  <201905250750.x4P7oTbV060940@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905250750.x4P7oTbV060940>