ports/182741: [PATCH] graphics/enblend: Build with clang on 10-CURRENT

Jean-Sébastien Pédron dumbbell at FreeBSD.org
Sun Oct 6 12:50:00 UTC 2013


>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 at 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:


More information about the freebsd-ports-bugs mailing list