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 context 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,4 +1,4 @@
-# $NetBSD: Makefile.lib,v 1.15 2013/05/16 05:04:56 richard Exp $
+# $NetBSD: Makefile.lib,v 1.16 2013/12/29 16:28:15 bsiegert Exp $
 #
 # This Makefile fragment is included by all packages that build libraries
 # from the Mesa sources.
@@ -38,6 +38,11 @@
 
 .if !empty(PKGSRC_COMPILER:Mccc)
 CFLAGS+=	-D__FUNCTION__=__FILE__
+.endif
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "MirBSD"
+BUILDLINK_TRANSFORM+=	rm:-fvisibility=hidden
 .endif
 
 pre-configure: