From owner-svn-ports-head@freebsd.org Tue Feb 16 13:56:26 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B39AAAA8C7; Tue, 16 Feb 2016 13:56:26 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D2571870; Tue, 16 Feb 2016 13:56:25 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1GDuP1C017649; Tue, 16 Feb 2016 13:56:25 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1GDuPS3017648; Tue, 16 Feb 2016 13:56:25 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201602161356.u1GDuPS3017648@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Tue, 16 Feb 2016 13:56:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408996 - head/emulators/wine-devel X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 13:56:26 -0000 Author: gerald Date: Tue Feb 16 13:56:24 2016 New Revision: 408996 URL: https://svnweb.freebsd.org/changeset/ports/408996 Log: On FreeBSD 9.x, even when CHOSEN_COMPILER_TYPE from Mk/Uses/compiler.mk is set to clang, COMPILER_VERSION is still at 42 from the system compiler that is GCC 4.2. Work around this for the time being, while retaining the fix from PR 206527, by special casing this situation. PR: 206527 Modified: head/emulators/wine-devel/Makefile Modified: head/emulators/wine-devel/Makefile ============================================================================== --- head/emulators/wine-devel/Makefile Tue Feb 16 13:46:45 2016 (r408995) +++ head/emulators/wine-devel/Makefile Tue Feb 16 13:56:24 2016 (r408996) @@ -120,7 +120,10 @@ X11_LIB_DEPENDS= libfontconfig.so:${PORT CONFIGURE_ARGS+= --enable-win64 --libdir=${PREFIX}/lib PLIST_SUB+= WINE32="@comment " WINE64="" -.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 38 +# On FreeBSD 9.x, even when CHOSEN_COMPILER_TYPE from Mk/Uses/compiler.mk +# is set to clang, COMPILER_VERSION is still at 42 from the system compiler +# that is GCC 4.2. Hack around this a bit. +.if ${CHOSEN_COMPILER_TYPE} == clang && ( ${COMPILER_VERSION} < 38 || ${COMPILER_VERSION} == 42 ) 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 \