diff options
author | tnn <tnn@pkgsrc.org> | 2008-05-16 13:48:41 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-05-16 13:48:41 +0000 |
commit | 1b128c264af24d1076f0cb4b65d3e1386f6068c1 (patch) | |
tree | 8e84570db5272a747c70fae70fe787ea4ce6e19c /x11/xinit | |
parent | 6cbf466300f74e7246703c063ee1a0914743e62c (diff) | |
download | pkgsrc-1b128c264af24d1076f0cb4b65d3e1386f6068c1.tar.gz |
Some of the X.org packages assume that the C preprocessor will use stdin
if no filename given, but this isn't true with the native HP compiler, so
teach them to use '-' explicitly.
XXX using cpp(1) to postprocess manpages is ugly, most of the other X.org
packages seem to have been converted to use sed(1).
Diffstat (limited to 'x11/xinit')
-rw-r--r-- | x11/xinit/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/xinit/Makefile b/x11/xinit/Makefile index eeb767ce0f8..a6f0c44e2fd 100644 --- a/x11/xinit/Makefile +++ b/x11/xinit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2008/04/16 22:07:24 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2008/05/16 13:48:41 tnn Exp $ # DISTNAME= xinit-1.0.8 @@ -15,6 +15,11 @@ PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes USE_TOOLS+= pkg-config xauth:run +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mhp) +CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -" +.endif + .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |