diff options
author | tnn <tnn@pkgsrc.org> | 2008-05-24 20:15:46 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-05-24 20:15:46 +0000 |
commit | aa0c6bbf576337db49193ed57aac5fd610e4d331 (patch) | |
tree | e79d4a7d64599c7488bdd333f7cd1ff9a00efd9c /x11/libXt | |
parent | 9f2af9194288581a327a99284cf8793c44e2d28a (diff) | |
download | pkgsrc-aa0c6bbf576337db49193ed57aac5fd610e4d331.tar.gz |
Fix build on OSF1.
If including <pthread.h>, it is mandatory to compile with -pthread.
Diffstat (limited to 'x11/libXt')
-rw-r--r-- | x11/libXt/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
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 -" |