diff options
author | tnn <tnn> | 2009-09-22 19:34:05 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-09-22 19:34:05 +0000 |
commit | 11a0a6123cd02e49076031b8a45fddcf11bdf802 (patch) | |
tree | 8ba4f171e06723a9d6e9fc45b9000d7dd651d62c /x11/libX11/Makefile | |
parent | 8046c713ff719da46e13714abbc423fcafc7a799 (diff) | |
download | pkgsrc-11a0a6123cd02e49076031b8a45fddcf11bdf802.tar.gz |
Invoke the C preprocessor in a portable manner on all non-GCC compilers.
This is PR pkg/39879.
Diffstat (limited to 'x11/libX11/Makefile')
-rw-r--r-- | x11/libX11/Makefile | 4 |
1 files changed, 2 insertions, 2 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 |