pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/glib2 Build with --disable-visibility when using...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6eca8e41c53c
branches: trunk
changeset: 541884:6eca8e41c53c
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Apr 27 11:00:46 2008 +0000
description:
Build with --disable-visibility when using sunpro compiler, to prevent
unresolved symbol "g_test_config_vars" during build.
diffstat:
devel/glib2/hacks.mk | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 94bfd4125aa2 -r 6eca8e41c53c devel/glib2/hacks.mk
--- a/devel/glib2/hacks.mk Sun Apr 27 10:46:16 2008 +0000
+++ b/devel/glib2/hacks.mk Sun Apr 27 11:00:46 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2007/04/24 11:00:36 tnn Exp $
+# $NetBSD: hacks.mk,v 1.2 2008/04/27 11:00:46 tnn Exp $
.if !defined(GLIB2_HACKS_MK)
GLIB2_HACKS_MK= defined
@@ -10,4 +10,11 @@
CFLAGS:= -O0 ${CFLAGS:C/[+,-]O[0-9]?//g}
.endif
+# Work around unresolved symbol g_test_config_vars during build
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Msunpro)
+PKG_HACKS+= sunpro-visibility
+CONFIGURE_ARGS+= --disable-visibility
+.endif
+
.endif # GLIB2_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index