summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Mesa/Makefile.lib7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/Mesa/Makefile.lib b/graphics/Mesa/Makefile.lib
index 65d2f0c4fc9..90070692b27 100644
--- a/graphics/Mesa/Makefile.lib
+++ b/graphics/Mesa/Makefile.lib
@@ -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.
@@ -40,5 +40,10 @@ CONFIGURE_ARGS+= --disable-egl
CFLAGS+= -D__FUNCTION__=__FILE__
.endif
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "MirBSD"
+BUILDLINK_TRANSFORM+= rm:-fvisibility=hidden
+.endif
+
pre-configure:
cd ${WRKSRC} && ${MAKE} configure