Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Nov 2016 23:20:07 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426000 - in head: audio/clementine-player devel/llvm35 devel/llvm36
Message-ID:  <201611122320.uACNK7da071009@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Nov 12 23:20:06 2016
New Revision: 426000
URL: https://svnweb.freebsd.org/changeset/ports/426000

Log:
  Spell CHOSEN_COMPILER_TYPE correctly
  
  PR:		199098

Modified:
  head/audio/clementine-player/Makefile
  head/devel/llvm35/Makefile
  head/devel/llvm36/Makefile

Modified: head/audio/clementine-player/Makefile
==============================================================================
--- head/audio/clementine-player/Makefile	Sat Nov 12 22:55:53 2016	(r425999)
+++ head/audio/clementine-player/Makefile	Sat Nov 12 23:20:06 2016	(r426000)
@@ -200,8 +200,8 @@ WIIMOTEDEV_CMAKE_OFF=	-DENABLE_WIIMOTEDE
 
 .include <bsd.port.pre.mk>
 
-.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 39
-CXXFLAGS+=	-Wno-undefined-var-template
+.if ${CHOSEN_COMPILER_TYPE} == clang
+CXXFLAGS+=	-Wno-unknown-warning-option -Wno-undefined-var-template
 .endif
 
 .include <bsd.port.post.mk>

Modified: head/devel/llvm35/Makefile
==============================================================================
--- head/devel/llvm35/Makefile	Sat Nov 12 22:55:53 2016	(r425999)
+++ head/devel/llvm35/Makefile	Sat Nov 12 23:20:06 2016	(r426000)
@@ -138,7 +138,7 @@ NOT_FOR_ARCH=	ia64
 
 .include <bsd.port.pre.mk>
 
-.if ${PORT_OPTIONS:MCMAKE} && ${COMPILER_TYPE} != clang
+.if ${PORT_OPTIONS:MCMAKE} && ${CHOSEN_COMPILER_TYPE} != clang
 BROKEN=	CMake support only works with clang
 .endif
 

Modified: head/devel/llvm36/Makefile
==============================================================================
--- head/devel/llvm36/Makefile	Sat Nov 12 22:55:53 2016	(r425999)
+++ head/devel/llvm36/Makefile	Sat Nov 12 23:20:06 2016	(r426000)
@@ -148,7 +148,7 @@ NOT_FOR_ARCH=	ia64
 
 .include <bsd.port.pre.mk>
 
-.if ${PORT_OPTIONS:MCMAKE} && ${COMPILER_TYPE} != clang
+.if ${PORT_OPTIONS:MCMAKE} && ${CHOSEN_COMPILER_TYPE} != clang
 BROKEN=	CMake support only works with clang
 .endif
 



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