summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortnn <tnn>2008-05-24 20:15:46 +0000
committertnn <tnn>2008-05-24 20:15:46 +0000
commitcbc4ccb221e555da87bd0924936eb0ec544cabb3 (patch)
treee79d4a7d64599c7488bdd333f7cd1ff9a00efd9c /x11
parentc2ef064ec7c3528712f6f54d125f454fd2d8f382 (diff)
downloadpkgsrc-cbc4ccb221e555da87bd0924936eb0ec544cabb3.tar.gz
Fix build on OSF1.
If including <pthread.h>, it is mandatory to compile with -pthread.
Diffstat (limited to 'x11')
-rw-r--r--x11/libX11/Makefile4
-rw-r--r--x11/libXau/Makefile4
-rw-r--r--x11/libXt/Makefile4
3 files changed, 9 insertions, 3 deletions
diff --git a/x11/libX11/Makefile b/x11/libX11/Makefile
index 6cf2a2fa3c7..7c92777d4d1 100644
--- a/x11/libX11/Makefile
+++ b/x11/libX11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2008/05/16 13:48:41 tnn Exp $
+# $NetBSD: Makefile,v 1.13 2008/05/24 20:15:46 tnn Exp $
#
DISTNAME= libX11-1.1.4
@@ -34,6 +34,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 -"
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"
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 -"