svn commit: r408456 - head/emulators/wine-devel

Gerald Pfeifer gerald at FreeBSD.org
Sun Feb 7 21:22:16 UTC 2016


Author: gerald
Date: Sun Feb  7 21:22:15 2016
New Revision: 408456
URL: https://svnweb.freebsd.org/changeset/ports/408456

Log:
  Fix the build with clang 3.8.0 or later which support "native" Windows
  varargs builtins.
  
  PR:		206527
  Submitted by:	dim

Modified:
  head/emulators/wine-devel/Makefile

Modified: head/emulators/wine-devel/Makefile
==============================================================================
--- head/emulators/wine-devel/Makefile	Sun Feb  7 21:13:44 2016	(r408455)
+++ head/emulators/wine-devel/Makefile	Sun Feb  7 21:22:15 2016	(r408456)
@@ -120,7 +120,7 @@ X11_LIB_DEPENDS=	libfontconfig.so:${PORT
 CONFIGURE_ARGS+=	--enable-win64 --libdir=${PREFIX}/lib
 PLIST_SUB+=		WINE32="@comment " WINE64=""
 
-.if ${CHOSEN_COMPILER_TYPE} == clang
+.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 38
 CPPFLAGS+=		-D__builtin_ms_va_list=__builtin_va_list \
 			-D__builtin_ms_va_start=__builtin_va_start \
 			-D__builtin_ms_va_end=__builtin_va_end \


More information about the svn-ports-all mailing list