From owner-freebsd-office@FreeBSD.ORG Wed May 27 09:30:15 2015 Return-Path: Delivered-To: office@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF8EF60A for ; Wed, 27 May 2015 09:30:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 D9DC4D92 for ; Wed, 27 May 2015 09:30:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4R9UFT6086384 for ; Wed, 27 May 2015 09:30:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 200236] [maintainer][patch] games/wesnoth: fix for some FreeBSD 10.1 builds Date: Wed, 27 May 2015 09:30:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: truckman@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: marino@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 09:30:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200236 Don Lewis changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |truckman@FreeBSD.org --- Comment #30 from Don Lewis --- (In reply to John Marino from comment #18) There is no guarantee that clang is present on 9, 10, and 11. This is true by default on some of the tier 2 platforms according to src.conf(5), and on i386 or amd64 the end user might have added WITHOUT_CLANG to his /etc/src.conf. If using the base version of clang if present is OK then the cleanest solution might be to add USES=compiler:cwhatever to the Makefile. Since boost is used by this port, and boost is built with the default c++ compiler from base, it gets tricky. On FreeBSD 9, many of the USES=compiler options will use clang as the compiler and result in fatal libstdc++ vs. libc++ conflicts. USES=compiler:c++11-lib will generally do the right thing here because it will use the ports version of gcc if COMPILER_TYPE != clang. BTW, the COMPILER_VERSION check in ".if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42" is pretty useless because it is always true when COMPILER_TYPE is gcc. -- You are receiving this mail because: You are on the CC list for the bug.