summaryrefslogtreecommitdiff
path: root/x11/libXau
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-05-24 20:15:46 +0000
committertnn <tnn@pkgsrc.org>2008-05-24 20:15:46 +0000
commitaa0c6bbf576337db49193ed57aac5fd610e4d331 (patch)
treee79d4a7d64599c7488bdd333f7cd1ff9a00efd9c /x11/libXau
parent9f2af9194288581a327a99284cf8793c44e2d28a (diff)
downloadpkgsrc-aa0c6bbf576337db49193ed57aac5fd610e4d331.tar.gz
Fix build on OSF1.
If including <pthread.h>, it is mandatory to compile with -pthread.
Diffstat (limited to 'x11/libXau')
-rw-r--r--x11/libXau/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/libXau/Makefile b/x11/libXau/Makefile
index e3e43220db9..616ca5869ff 100644
--- a/x11/libXau/Makefile
+++ b/x11/libXau/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/03/09 20:26:39 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2008/05/24 20:15:46 tnn Exp $
#
DISTNAME= libXau-1.0.3
@@ -21,6 +21,8 @@ CONFIGURE_ENV+= LIB_MAN_SUFFIX=3
PKGCONFIG_OVERRIDE+= xau.pc.in
+CPPFLAGS.OSF1+= -pthread # Required by compiler if including pthread.h
+
.include "../../x11/xproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"