From aa0c6bbf576337db49193ed57aac5fd610e4d331 Mon Sep 17 00:00:00 2001
From: tnn <tnn@pkgsrc.org>
Date: Sat, 24 May 2008 20:15:46 +0000
Subject: Fix build on OSF1. If including <pthread.h>, it is mandatory to
 compile with -pthread.

---
 x11/libXau/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'x11/libXau/Makefile')

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"
-- 
cgit v1.2.3