summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn>2009-09-22 19:34:05 +0000
committertnn <tnn>2009-09-22 19:34:05 +0000
commit11a0a6123cd02e49076031b8a45fddcf11bdf802 (patch)
tree8ba4f171e06723a9d6e9fc45b9000d7dd651d62c
parent8046c713ff719da46e13714abbc423fcafc7a799 (diff)
downloadpkgsrc-11a0a6123cd02e49076031b8a45fddcf11bdf802.tar.gz
Invoke the C preprocessor in a portable manner on all non-GCC compilers.
This is PR pkg/39879.
-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