diff options
author | tron <tron> | 2008-06-05 13:03:41 +0000 |
---|---|---|
committer | tron <tron> | 2008-06-05 13:03:41 +0000 |
commit | e39f7549577eec1e37debf775558200d9bd0d564 (patch) | |
tree | 473ad81eaacceac593ee7803e6121a4e68f87c6f /graphics | |
parent | ecf89ac4202ccd4ab595e8baa5a8bfa4be29aee3 (diff) | |
download | pkgsrc-e39f7549577eec1e37debf775558200d9bd0d564.tar.gz |
Fix broken hack which instead of removing the "-fvisibility=hidden"
compiler flag actually added it. This causes all the link failures
in packages using the "glut" library (e.g. "gle"). Bump package
revision because of this fix.
Error analysis provided by Raymond Meyer on "pkgsrc-users" mailing list.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/MesaLib/Makefile | 4 | ||||
-rw-r--r-- | graphics/MesaLib/hacks.mk | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/MesaLib/Makefile b/graphics/MesaLib/Makefile index f02f853b209..f40ba13b409 100644 --- a/graphics/MesaLib/Makefile +++ b/graphics/MesaLib/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.61 2008/06/03 06:59:12 dsainty Exp $ +# $NetBSD: Makefile,v 1.62 2008/06/05 13:03:41 tron Exp $ PKGNAME= MesaLib-${MESA_PKGVERSION} -PKGREVISION= 1 +PKGREVISION= 2 COMMENT= Graphics library similar to SGI's OpenGL MESA_HEADERS= gl.h gl_mangle.h glext.h glx.h glxext.h \ diff --git a/graphics/MesaLib/hacks.mk b/graphics/MesaLib/hacks.mk index f0539360647..e196f7f843d 100644 --- a/graphics/MesaLib/hacks.mk +++ b/graphics/MesaLib/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.8 2008/05/21 05:58:52 bjs Exp $ +# $NetBSD: hacks.mk,v 1.9 2008/06/05 13:03:41 tron Exp $ .if !defined(MESALIBS_HACKS_MK) MESALIBS_HACKS_MK= # defined @@ -33,7 +33,7 @@ CFLAGS+= -fno-strict-aliasing # Don't hide symbols for glut by default, it doesn't know how to unhide them. . if empty(PKGNAME:M*glut*) PKG_HACKS+= gcc-hidden-visibility -CFLAGS+= -fvisibility=hidden +BUILDLINK_TRANSFORM+= rm:-fvisibility=hidden . endif . endif ### |