summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortnn <tnn>2009-09-22 19:34:05 +0000
committertnn <tnn>2009-09-22 19:34:05 +0000
commit5082a6e3f296ac4b44552e049d9d3ccb7c364bd0 (patch)
tree8ba4f171e06723a9d6e9fc45b9000d7dd651d62c /x11
parentc9e4eb8a6d44b96f851ab82ab7e0906337ad47a2 (diff)
downloadpkgsrc-5082a6e3f296ac4b44552e049d9d3ccb7c364bd0.tar.gz
Invoke the C preprocessor in a portable manner on all non-GCC compilers.
This is PR pkg/39879.
Diffstat (limited to 'x11')
-rw-r--r--x11/libX11/Makefile4
-rw-r--r--x11/libXext/Makefile4
-rw-r--r--x11/libXt/Makefile4
-rw-r--r--x11/xinit/Makefile4
4 files changed, 8 insertions, 8 deletions
diff --git a/x11/libX11/Makefile b/x11/libX11/Makefile
index 7cd14061abe..5134adb1ed9 100644
--- a/x11/libX11/Makefile
+++ b/x11/libX11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2009/07/18 10:20:51 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2009/09/22 19:34:05 tnn Exp $
#
DISTNAME= libX11-1.2.2
@@ -36,7 +36,7 @@ MAKE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q} CPPFLAGS_FOR_BUILD=-I${PREFIX}/include
CPPFLAGS.OSF1+= -pthread # Required by compiler if including pthread.h
.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mhp)
+.if empty(PKGSRC_COMPILER:Mgcc)
CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
.endif
diff --git a/x11/libXext/Makefile b/x11/libXext/Makefile
index a29051fe7c0..ac10fcdc1da 100644
--- a/x11/libXext/Makefile
+++ b/x11/libXext/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2009/02/27 16:00:01 tnn Exp $
+# $NetBSD: Makefile,v 1.10 2009/09/22 19:34:05 tnn Exp $
#
DISTNAME= libXext-1.0.5
@@ -27,7 +27,7 @@ CONFIGURE_ARGS+= --disable-malloc0returnsnull
.endif
.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mhp)
+.if empty(PKGSRC_COMPILER:Mgcc)
CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
.endif
diff --git a/x11/libXt/Makefile b/x11/libXt/Makefile
index b689335f3ab..d2f38b4552a 100644
--- a/x11/libXt/Makefile
+++ b/x11/libXt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2009/07/18 10:28:47 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2009/09/22 19:34:05 tnn Exp $
#
DISTNAME= libXt-1.0.6
@@ -34,7 +34,7 @@ MAKE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q} CPPFLAGS_FOR_BUILD=-I${PREFIX}/include
CPPFLAGS.OSF1+= -pthread # Required by compiler if including pthread.h
.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mhp)
+.if empty(PKGSRC_COMPILER:Mgcc)
CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
.endif
diff --git a/x11/xinit/Makefile b/x11/xinit/Makefile
index 899d4264046..7f99bff4cdb 100644
--- a/x11/xinit/Makefile
+++ b/x11/xinit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2009/01/07 10:57:58 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2009/09/22 19:34:06 tnn Exp $
#
DISTNAME= xinit-1.1.1
@@ -17,7 +17,7 @@ CONFIGURE_ARGS+= --with-xinit=${PREFIX}/bin/xinit
USE_TOOLS+= pkg-config xauth:run
.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mhp)
+.if empty(PKGSRC_COMPILER:Mgcc)
CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
.endif