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 | e8852f69f406dfda13f046322d4f1ab2afd3181a (patch) | |
tree | 8e84570db5272a747c70fae70fe787ea4ce6e19c /x11/libXt | |
parent | 815967fdd60e4c9d999926e6ef91e9a4172c3f40 (diff) | |
download | pkgsrc-e8852f69f406dfda13f046322d4f1ab2afd3181a.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/libXt')
-rw-r--r-- | x11/libXt/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/libXt/Makefile b/x11/libXt/Makefile index 3ba00d267d3..97332e6e284 100644 --- a/x11/libXt/Makefile +++ b/x11/libXt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2008/01/29 03:37:02 bjs Exp $ +# $NetBSD: Makefile,v 1.8 2008/05/16 13:48:41 tnn Exp $ # DISTNAME= libXt-1.0.5 @@ -32,6 +32,11 @@ CONFIGURE_ARGS+= --disable-malloc0returnsnull MAKE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q} CPPFLAGS_FOR_BUILD=-I${PREFIX}/include .endif +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mhp) +CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -" +.endif + .include "../../x11/libSM/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" .include "../../x11/kbproto/buildlink3.mk" |