pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib Backout last change. It's insufficien...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/efc34610b90e
branches:  trunk
changeset: 543912:efc34610b90e
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed Jun 25 11:21:20 2008 +0000

description:
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:

 graphics/MesaLib/hacks.mk |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (24 lines):

diff -r 37c019a93d2a -r efc34610b90e graphics/MesaLib/hacks.mk
--- a/graphics/MesaLib/hacks.mk Tue Jun 24 23:59:48 2008 +0000
+++ b/graphics/MesaLib/hacks.mk Wed Jun 25 11:21:20 2008 +0000
@@ -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 @@
 
 .  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
+.    if empty(PKGNAME:M*glut*)
+PKG_HACKS+=            gcc-hidden-visibility
 BUILDLINK_TRANSFORM+=  rm:-fvisibility=hidden
-.else
-PKG_HACKS+=            gcc-hidden-visibility
-CFLAGS+=               -fvisibility=hidden
 .    endif
 .  endif
 ###



Home | Main Index | Thread Index | Old Index