From 3ae1ecd4ce5d6766ad74deec445b54d5174b4a6b Mon Sep 17 00:00:00 2001 From: tnn Date: Thu, 29 May 2008 12:43:39 +0000 Subject: The Tru64 compiler doesn't know __FUNCTION__ so just define it to __FILE__ --- graphics/Mesa/Makefile.lib | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'graphics/Mesa') diff --git a/graphics/Mesa/Makefile.lib b/graphics/Mesa/Makefile.lib index cd510381df5..ccaf5ce0578 100644 --- a/graphics/Mesa/Makefile.lib +++ b/graphics/Mesa/Makefile.lib @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.lib,v 1.11 2008/05/17 18:52:17 tnn Exp $ +# $NetBSD: Makefile.lib,v 1.12 2008/05/29 12:43:39 tnn Exp $ # # This Makefile fragment is included by all packages that build libraries # from the Mesa sources. @@ -39,6 +39,10 @@ MAKE_ENV+= USE_XCB=no .include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mccc) +CFLAGS+= -D__FUNCTION__=__FILE__ +.endif + MESA_HZ?= 100 MAKE_ENV+= MESA_HZ=${MESA_HZ:Q} .if ${OPSYS} == "NetBSD" && exists(/sbin/sysctl) -- cgit v1.2.3