summaryrefslogtreecommitdiff
path: root/x11/libxcb
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-05-29 00:39:47 +0000
committerrodent <rodent@pkgsrc.org>2014-05-29 00:39:47 +0000
commit7a54c8f9beaafe9f7dbd0cdca0cfe67c8c2e121c (patch)
tree981db94a4e94b4a9991f9f6af6bf77bc222a62b9 /x11/libxcb
parentc6d25975d96860e33b816dfdd996782b09f20028 (diff)
downloadpkgsrc-7a54c8f9beaafe9f7dbd0cdca0cfe67c8c2e121c.tar.gz
Needs to link against pthread on OpenBSD. print/ghostscript-gpl exposed the
issue during configure.
Diffstat (limited to 'x11/libxcb')
-rw-r--r--x11/libxcb/Makefile3
-rw-r--r--x11/libxcb/buildlink3.mk6
2 files changed, 7 insertions, 2 deletions
diff --git a/x11/libxcb/Makefile b/x11/libxcb/Makefile
index 65792fc53b8..72ab4939879 100644
--- a/x11/libxcb/Makefile
+++ b/x11/libxcb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2014/01/02 19:52:16 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2014/05/29 00:39:47 rodent Exp $
DISTNAME= libxcb-1.10
CATEGORIES= x11
@@ -61,6 +61,7 @@ PKGCONFIG_OVERRIDE+= xcb.pc.in
# addition to MIT-MAGIC-COOKIE-1.
.include "../../mk/pthread.buildlink3.mk"
+LDFLAGS.OpenBSD+= ${PTHREAD_LDFLAGS}
XTHREADLIB= ${${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}:L:M*}
diff --git a/x11/libxcb/buildlink3.mk b/x11/libxcb/buildlink3.mk
index 84ff4ef9017..333de072407 100644
--- a/x11/libxcb/buildlink3.mk
+++ b/x11/libxcb/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2012/10/02 12:09:41 tron Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2014/05/29 00:39:47 rodent Exp $
BUILDLINK_TREE+= libxcb
@@ -9,6 +9,10 @@ BUILDLINK_API_DEPENDS.libxcb+= libxcb>=1.6
BUILDLINK_ABI_DEPENDS.libxcb+= libxcb>=1.6
BUILDLINK_PKGSRCDIR.libxcb?= ../../x11/libxcb
+.include "../../mk/bsd.fast.prefs.mk"
+.if ${OPSYS} == "OpenBSD"
+.include "../../mk/pthread.buildlink3.mk"
+.endif
.include "../../x11/xcb-proto/buildlink3.mk"
.include "../../x11/libXdmcp/buildlink3.mk"
.include "../../x11/libXau/buildlink3.mk"