summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-05-29 12:43:39 +0000
committertnn <tnn@pkgsrc.org>2008-05-29 12:43:39 +0000
commit37f381998b35dc28fca8ff2ceb0e384b790fd53c (patch)
treefb44f5c9a899416aefe0ba5834298152aabf0963 /graphics
parent27c196780228c3469844186746632202885c74d8 (diff)
downloadpkgsrc-37f381998b35dc28fca8ff2ceb0e384b790fd53c.tar.gz
The Tru64 compiler doesn't know __FUNCTION__ so just define it to __FILE__
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Mesa/Makefile.lib6
1 files changed, 5 insertions, 1 deletions
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)