diff options
author | rodent <rodent> | 2014-05-27 04:45:33 +0000 |
---|---|---|
committer | rodent <rodent> | 2014-05-27 04:45:33 +0000 |
commit | 8a6c4db3639647150c42612d748a6d47ad5769bc (patch) | |
tree | c9a9b25dfc01bd3b8f1003246754790f72f48363 /x11/libX11/Makefile | |
parent | d253ba5640338075666e04055062a64f2d790ddc (diff) | |
download | pkgsrc-8a6c4db3639647150c42612d748a6d47ad5769bc.tar.gz |
libXext build failure on OpenBSD exposed libX11 test failing during
configure due to missing pthread library. Buildlink pthread. Don't hardcode
-pthread for OSF1, MirBSD, and OpenBSD, but use PTHREAD_{C,LD}FLAGS
instead. Add pthread in bl3, but for the above targets.
Diffstat (limited to 'x11/libX11/Makefile')
-rw-r--r-- | x11/libX11/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/x11/libX11/Makefile b/x11/libX11/Makefile index 3fe3d8edd4e..d7447bc1d77 100644 --- a/x11/libX11/Makefile +++ b/x11/libX11/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2014/04/29 10:27:33 obache Exp $ +# $NetBSD: Makefile,v 1.37 2014/05/27 04:45:33 rodent Exp $ DISTNAME= libX11-1.6.2 CATEGORIES= x11 devel @@ -29,9 +29,11 @@ CONFIGURE_ENV+= FILE_MAN_SUFFIX=5 CONFIGURE_ARGS+= --disable-malloc0returnsnull .endif -CPPFLAGS.OSF1+= -pthread # Required by compiler if including pthread.h -CPPFLAGS.MirBSD+= -pthread -LDFLAGS.MirBSD+= -pthread +.include "../../mk/pthread.buildlink3.mk" +CPPFLAGS.OSF1+= ${PTHREAD_CFLAGS} # Required by compiler if including pthread.h +CPPFLAGS.MirBSD+= ${PTHREAD_CFLAGS} +LDFLAGS.MirBSD+= ${PTHREAD_LDFLAGS} +LDFLAGS.OpenBSD+= ${PTHREAD_LDFLAGS} BUILDLINK_API_DEPENDS.libxcb+=libxcb>=1.8.1 BUILDLINK_API_DEPENDS.xproto+=xproto>=7.0.17 |