Sun Dec 29 16:28:15 2013 UTC ()
No -fvisibility=hidden on MirBSD.

Fixes the build of graphics/glu.


(bsiegert)
diff -r1.15 -r1.16 pkgsrc/graphics/Mesa/Makefile.lib

cvs diff -r1.15 -r1.16 pkgsrc/graphics/Mesa/Attic/Makefile.lib (expand / switch to unified diff)

--- pkgsrc/graphics/Mesa/Attic/Makefile.lib 2013/05/16 05:04:56 1.15
+++ pkgsrc/graphics/Mesa/Attic/Makefile.lib 2013/12/29 16:28:15 1.16
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.lib,v 1.15 2013/05/16 05:04:56 richard Exp $ 1# $NetBSD: Makefile.lib,v 1.16 2013/12/29 16:28:15 bsiegert Exp $
2# 2#
3# This Makefile fragment is included by all packages that build libraries 3# This Makefile fragment is included by all packages that build libraries
4# from the Mesa sources. 4# from the Mesa sources.
5# 5#
6# used by graphics/glu/Makefile 6# used by graphics/glu/Makefile
7# used by graphics/glut/Makefile 7# used by graphics/glut/Makefile
8# used by graphics/MesaDemos/Makefile 8# used by graphics/MesaDemos/Makefile
9# used by graphics/MesaLib/Makefile 9# used by graphics/MesaLib/Makefile
10 10
11.include "../../graphics/Mesa/Makefile.common" 11.include "../../graphics/Mesa/Makefile.common"
12 12
13DISTFILES+= MesaLib-${MESA_VERSION}${EXTRACT_SUFX} 13DISTFILES+= MesaLib-${MESA_VERSION}${EXTRACT_SUFX}
14DISTFILES+= MesaGLUT-${MESA_VERSION}${EXTRACT_SUFX} 14DISTFILES+= MesaGLUT-${MESA_VERSION}${EXTRACT_SUFX}
@@ -30,15 +30,20 @@ DISTINFO_FILE= ${.CURDIR}/../MesaLib/di @@ -30,15 +30,20 @@ DISTINFO_FILE= ${.CURDIR}/../MesaLib/di
30 30
31MAKE_ENV+= MAKE=${GMAKE:Q} 31MAKE_ENV+= MAKE=${GMAKE:Q}
32 32
33CONFIGURE_ARGS+= --with-gallium-drivers="" 33CONFIGURE_ARGS+= --with-gallium-drivers=""
34CONFIGURE_ARGS+= --disable-gallium-llvm 34CONFIGURE_ARGS+= --disable-gallium-llvm
35CONFIGURE_ARGS+= --disable-egl 35CONFIGURE_ARGS+= --disable-egl
36 36
37.include "../../mk/compiler.mk" 37.include "../../mk/compiler.mk"
38 38
39.if !empty(PKGSRC_COMPILER:Mccc) 39.if !empty(PKGSRC_COMPILER:Mccc)
40CFLAGS+= -D__FUNCTION__=__FILE__ 40CFLAGS+= -D__FUNCTION__=__FILE__
41.endif 41.endif
42 42
 43.include "../../mk/bsd.prefs.mk"
 44.if ${OPSYS} == "MirBSD"
 45BUILDLINK_TRANSFORM+= rm:-fvisibility=hidden
 46.endif
 47
43pre-configure: 48pre-configure:
44 cd ${WRKSRC} && ${MAKE} configure 49 cd ${WRKSRC} && ${MAKE} configure