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/libXext | |
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/libXext')
-rw-r--r-- | x11/libXext/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/libXext/Makefile b/x11/libXext/Makefile index 0a4ddfcc7a7..c0aab80b851 100644 --- a/x11/libXext/Makefile +++ b/x11/libXext/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2008/03/02 14:44:47 bjs Exp $ +# $NetBSD: Makefile,v 1.6 2008/05/16 13:48:41 tnn Exp $ # DISTNAME= libXext-1.0.4 @@ -25,6 +25,11 @@ PKGCONFIG_OVERRIDE+= xext.pc.in CONFIGURE_ARGS+= --disable-malloc0returnsnull .endif +.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 "../../x11/xextproto/buildlink3.mk" .include "../../x11/xproto/buildlink3.mk" |