svn commit: r426000 - in head: audio/clementine-player devel/llvm35 devel/llvm36

Antoine Brodin antoine at FreeBSD.org
Sat Nov 12 23:20:08 UTC 2016


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
 


More information about the svn-ports-all mailing list