summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/cairo/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile
index 2795425c982..1908655871d 100644
--- a/graphics/cairo/Makefile
+++ b/graphics/cairo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.97 2012/02/24 10:40:49 obache Exp $
+# $NetBSD: Makefile,v 1.98 2012/04/08 17:21:13 bsiegert Exp $
DISTNAME= cairo-1.10.2
PKGREVISION= 4
@@ -46,6 +46,11 @@ TEST_TARGET= check
CONFIGURE_ENV+= ac_cv_type___uint128_t=no
.endif
+# Workaround so that pthread is found on MirBSD
+.if ${OPSYS} == "MirBSD"
+CONFIGURE_ENV+= PTHREAD_CFLAGS=${CFLAGS:Q}
+.endif
+
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.9