summaryrefslogtreecommitdiff
path: root/graphics/cairo/hacks.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/cairo/hacks.mk')
-rw-r--r--graphics/cairo/hacks.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/cairo/hacks.mk b/graphics/cairo/hacks.mk
index c2ecd6a8940..ec93e6218db 100644
--- a/graphics/cairo/hacks.mk
+++ b/graphics/cairo/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.4 2012/06/11 12:48:44 obache Exp $
+# $NetBSD: hacks.mk,v 1.5 2012/06/14 19:53:07 bsiegert Exp $
.if !defined(CAIRO_HACKS_MK)
CAIRO_HACKS_MK= defined
@@ -15,6 +15,11 @@ CONFIGURE_ENV+= ac_cv_prog_CC=gcc-4.2
. endif
.endif
+# Workaround so that pthread is found on MirBSD
+.if ${OPSYS} == "MirBSD"
+PTHREAD_CFLAGS=-fhonour-copts
+.endif
+
#
# Workaround for "the pixman problem" with netbsd-5 native X. The
# problem is that if the order of rpath options isn't right when