diff options
-rw-r--r-- | x11/libxcb/Makefile | 3 | ||||
-rw-r--r-- | x11/libxcb/buildlink3.mk | 6 |
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" |