From aa0c6bbf576337db49193ed57aac5fd610e4d331 Mon Sep 17 00:00:00 2001 From: tnn Date: Sat, 24 May 2008 20:15:46 +0000 Subject: Fix build on OSF1. If including , it is mandatory to compile with -pthread. --- x11/libXt/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'x11/libXt') diff --git a/x11/libXt/Makefile b/x11/libXt/Makefile index 97332e6e284..0d0f2318a85 100644 --- a/x11/libXt/Makefile +++ b/x11/libXt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2008/05/16 13:48:41 tnn Exp $ +# $NetBSD: Makefile,v 1.9 2008/05/24 20:15:46 tnn Exp $ # DISTNAME= libXt-1.0.5 @@ -32,6 +32,8 @@ CONFIGURE_ARGS+= --disable-malloc0returnsnull 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 + .include "../../mk/compiler.mk" .if !empty(PKGSRC_COMPILER:Mhp) CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -" -- cgit v1.2.3