Date: Sun, 6 Oct 2013 12:42:35 GMT From: Jean-Sébastien Pédron <dumbbell@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182741: [PATCH] graphics/enblend: Build with clang on 10-CURRENT Message-ID: <201310061242.r96CgZkY001498@oldred.freebsd.org> Resent-Message-ID: <201310061250.r96Co0Fc067979@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> + +.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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310061242.r96CgZkY001498>