summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2008-06-25 11:21:20 +0000
committertron <tron@pkgsrc.org>2008-06-25 11:21:20 +0000
commit52d986d7b105e1ab655a7f320c211a21c0032d73 (patch)
tree8b52ace784e4a37cb35f2ce271961e172c17cc5c /graphics
parentf8e609732e976804589e962001c9d0b43b956d82 (diff)
downloadpkgsrc-52d986d7b105e1ab655a7f320c211a21c0032d73.tar.gz
Backout last change. It's insufficient as already pointed out by
Tobias Nygren and breaks the build of the "gle" package on XFree86 systems again.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/MesaLib/hacks.mk9
1 files changed, 3 insertions, 6 deletions
diff --git a/graphics/MesaLib/hacks.mk b/graphics/MesaLib/hacks.mk
index a924d92f60d..3f2de6caa03 100644
--- a/graphics/MesaLib/hacks.mk
+++ b/graphics/MesaLib/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.10 2008/06/24 18:55:44 bjs Exp $
+# $NetBSD: hacks.mk,v 1.11 2008/06/25 11:21:20 tron Exp $
.if !defined(MESALIBS_HACKS_MK)
MESALIBS_HACKS_MK= # defined
@@ -31,12 +31,9 @@ CFLAGS+= -fno-strict-aliasing
. if !empty(CC_VERSION:Mgcc-[4-9]*)
# Don't hide symbols for glut by default, it doesn't know how to unhide them.
-. if !empty(PKGNAME:M*glut*)
-PKG_HACKS+= no-gcc-hidden-visibility
-BUILDLINK_TRANSFORM+= rm:-fvisibility=hidden
-.else
+. if empty(PKGNAME:M*glut*)
PKG_HACKS+= gcc-hidden-visibility
-CFLAGS+= -fvisibility=hidden
+BUILDLINK_TRANSFORM+= rm:-fvisibility=hidden
. endif
. endif
###