Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2016 10:03:13 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413496 - head/emulators/wine
Message-ID:  <201604171003.u3HA3DTI066731@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Sun Apr 17 10:03:13 2016
New Revision: 413496
URL: https://svnweb.freebsd.org/changeset/ports/413496

Log:
  Fix for old make on FreeBSD 9.x.  USE_GCC=yes instead of USE_GCC=any there.
  
  PR:		206527

Modified:
  head/emulators/wine/Makefile

Modified: head/emulators/wine/Makefile
==============================================================================
--- head/emulators/wine/Makefile	Sun Apr 17 09:52:56 2016	(r413495)
+++ head/emulators/wine/Makefile	Sun Apr 17 10:03:13 2016	(r413496)
@@ -122,12 +122,14 @@ PLIST_SUB+=		WINE32="@comment " WINE64="
 # COMPILER_VERSION will be 42 (the GCC version) even if clang
 # is CHOSEN_COMPILER_TYPE in that case.
 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000054
-USE_GCC=		any
-.elseif ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 38
+USE_GCC=		yes
+.else
+. 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 \
 			-D__builtin_ms_va_copy=__builtin_va_copy
+. endif
 .endif
 
 # Wine assumes a WoW64 package is available however WoW64 is not yet available on FreeBSD.



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