summaryrefslogtreecommitdiff
path: root/x11/libX11
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2011-09-18 11:55:22 +0000
committerbsiegert <bsiegert@pkgsrc.org>2011-09-18 11:55:22 +0000
commita993e5efead207ba0cfb7cc04f17b05ee7c5bc06 (patch)
tree928a4af12b8c35ef07716dae4b36a2794d775422 /x11/libX11
parent63bc86a92f18ee88b2e77937ab47bd60851105bc (diff)
downloadpkgsrc-a993e5efead207ba0cfb7cc04f17b05ee7c5bc06.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/Makefile4
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"