diff options
Diffstat (limited to 'graphics/Mesa/Makefile.lib')
-rw-r--r-- | graphics/Mesa/Makefile.lib | 6 |
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) |