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 | 3661439214bd14558667ac9127c4229be69615dc (patch) | |
tree | e79d4a7d64599c7488bdd333f7cd1ff9a00efd9c /x11/libXt | |
parent | 3409c98855a164c666fb712e6c0bdbc9f8179c2c (diff) | |
download | pkgsrc-3661439214bd14558667ac9127c4229be69615dc.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 -" |