diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2011-09-18 11:55:22 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2011-09-18 11:55:22 +0000 |
commit | e65d2a6d07e48bcffe963bcf8eb6c2eb9507f1b0 (patch) | |
tree | 928a4af12b8c35ef07716dae4b36a2794d775422 /x11/libX11 | |
parent | 5fe73ada6943edbadddb3dc5bc8a99ce911769bc (diff) | |
download | pkgsrc-e65d2a6d07e48bcffe963bcf8eb6c2eb9507f1b0.tar.gz |
Add -pthread on MirBSD, fixes build of dependent packages like libXpm.
I think that patch-aa is incorrect, at least on MirBSD. It supposes that
pthread_self is already in libc. However, I won't touch the patches
during the freeze.
Diffstat (limited to 'x11/libX11')
-rw-r--r-- | x11/libX11/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/libX11/Makefile b/x11/libX11/Makefile index ee563618c49..f9d332769e4 100644 --- a/x11/libX11/Makefile +++ b/x11/libX11/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2011/07/19 13:59:45 joerg Exp $ +# $NetBSD: Makefile,v 1.26 2011/09/18 11:55:22 bsiegert Exp $ # DISTNAME= libX11-1.3.5 @@ -36,6 +36,8 @@ MAKE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q} CPPFLAGS_FOR_BUILD=-I${PREFIX}/include .endif CPPFLAGS.OSF1+= -pthread # Required by compiler if including pthread.h +CPPFLAGS.MirBSD+= -pthread +LDFLAGS.MirBSD+= -pthread .include "../../mk/compiler.mk" |