summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-11-16 09:27:03 +0000
committernia <nia@pkgsrc.org>2020-11-16 09:27:03 +0000
commitf4378f7f27f7b4856991ce42fece870bf811d9f6 (patch)
treed61ecf39d86faa087a0dc5697d47944a0e7465b1 /graphics
parent46b1aa6d5c4c897b63e266e8237d66303c89bd38 (diff)
downloadpkgsrc-f4378f7f27f7b4856991ce42fece870bf811d9f6.tar.gz
cairo: Disable symbol lookup tracing feature to avoid breakage
This uses libbfd, a library which is not exposed on a typical NetBSD system, but may be on Linux. libbfd does not appear to have a stable API, so this code may unexpectedly break. Reported by Dr. Thomas Orgis (problems manifest on CentOS 7)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/cairo/Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/cairo/Makefile.common b/graphics/cairo/Makefile.common
index fae1fae13cc..4f07a9f3eb9 100644
--- a/graphics/cairo/Makefile.common
+++ b/graphics/cairo/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.15 2020/01/26 17:31:20 rillig Exp $
+# $NetBSD: Makefile.common,v 1.16 2020/11/16 09:27:03 nia Exp $
#
# used by graphics/cairo/Makefile
# used by graphics/cairo-gobject/Makefile
@@ -24,6 +24,11 @@ GNU_CONFIGURE= yes
# does not build against NetBSD-5's MesaLib, and is according
# to upstream, only used by "toy applications"
CONFIGURE_ARGS+= --disable-gl
+# this uses libbdf, which is not exposed on a typical NetBSD system,
+# but on Linux the libraries can leak through and be detected anyway.
+# libbdf does not appear to have a stable API, so avoid breakage and
+# disable it outright. it's an internal debugging feature.
+CONFIGURE_ARGS+= --disable-symbol-lookup
CONFIGURE_ARGS+= --enable-fc
CONFIGURE_ARGS+= --enable-pdf
CONFIGURE_ARGS+= --enable-ps