From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 6 12:50:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C2967540 for ; Sun, 6 Oct 2013 12:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9EAB1286A for ; Sun, 6 Oct 2013 12:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r96Co0RF067980 for ; Sun, 6 Oct 2013 12:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r96Co0Fc067979; Sun, 6 Oct 2013 12:50:00 GMT (envelope-from gnats) Resent-Date: Sun, 6 Oct 2013 12:50:00 GMT Resent-Message-Id: <201310061250.r96Co0Fc067979@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jean-Sébastien Pédron Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3AB4840B for ; Sun, 6 Oct 2013 12:42:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 277FB284B for ; Sun, 6 Oct 2013 12:42:36 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r96CgZNI001509 for ; Sun, 6 Oct 2013 12:42:35 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r96CgZkY001498; Sun, 6 Oct 2013 12:42:35 GMT (envelope-from nobody) Message-Id: <201310061242.r96CgZkY001498@oldred.freebsd.org> Date: Sun, 6 Oct 2013 12:42:35 GMT From: Jean-Sébastien Pédron To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/182741: [PATCH] graphics/enblend: Build with clang on 10-CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Oct 2013 12:50:00 -0000 >Number: 182741 >Category: ports >Synopsis: [PATCH] graphics/enblend: Build with clang on 10-CURRENT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 06 12:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jean-Sébastien Pédron >Release: FreeBSD 10.0-ALPHA4 >Organization: The FreeBSD Project >Environment: FreeBSD magellan.dumbbell.fr 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #0 f67645e-dirty: Mon Sep 30 20:35:14 CEST 2013 root@magellan.dumbbell.fr:/usr/obj/home/dumbbell/Projects/freebsd/src/GIT/sys/GENERIC amd64 >Description: It builds fine with base Clang, but not with GCC, I guess because dependencies were built with Clang and libc++. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: graphics/enblend/Makefile =================================================================== --- graphics/enblend/Makefile (revision 329543) +++ graphics/enblend/Makefile (working copy) @@ -28,9 +28,14 @@ # Remove this line when we remove texinfo from the base system. CONFIGURE_ARGS= MAKEINFO="${LOCALBASE}/bin/makeinfo" +.include + +.if ${OSVERSION} < 1000054 # GCC 4.2 has some problems, see # http://groups.google.com/group/hugin-ptx/browse_thread/thread/725b1581c9889e37/50abe3387d61541a#50abe3387d61541a USE_GCC= yes +.endif + USE_GL= glew glut GNU_CONFIGURE= yes CONFIGURE_ENV+= "LIBS=-lboost_system" >Release-Note: >Audit-Trail: >Unformatted: